Index: Source/core/dom/CheckedRadioButtons.h |
diff --git a/Source/core/dom/CheckedRadioButtons.h b/Source/core/dom/CheckedRadioButtons.h |
index f050faa48c16244c9745e3019072af6171f49472..73bea3a1b28be2e3d0afa3ee611f2cf42ddd3f4d 100644 |
--- a/Source/core/dom/CheckedRadioButtons.h |
+++ b/Source/core/dom/CheckedRadioButtons.h |
@@ -21,6 +21,7 @@ |
#ifndef CheckedRadioButtons_h |
#define CheckedRadioButtons_h |
+#include "heap/Handle.h" |
#include <wtf/Forward.h> |
#include <wtf/HashMap.h> |
#include <wtf/OwnPtr.h> |
@@ -36,12 +37,12 @@ class CheckedRadioButtons { |
public: |
CheckedRadioButtons(); |
~CheckedRadioButtons(); |
- void addButton(HTMLInputElement*); |
- void updateCheckedState(HTMLInputElement*); |
- void requiredAttributeChanged(HTMLInputElement*); |
- void removeButton(HTMLInputElement*); |
- HTMLInputElement* checkedButtonForGroup(const AtomicString& groupName) const; |
- bool isInRequiredGroup(HTMLInputElement*) const; |
+ void addButton(Handle<HTMLInputElement>); |
+ void updateCheckedState(Handle<HTMLInputElement>); |
+ void requiredAttributeChanged(Handle<HTMLInputElement>); |
+ void removeButton(Handle<HTMLInputElement>); |
+ Result<HTMLInputElement> checkedButtonForGroup(const AtomicString& groupName) const; |
+ bool isInRequiredGroup(Handle<HTMLInputElement>) const; |
private: |
typedef HashMap<AtomicStringImpl*, OwnPtr<RadioButtonGroup> > NameToGroupMap; |