Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(558)

Unified Diff: Source/core/dom/CheckedRadioButtons.h

Issue 19510005: [oilpan] Completely move HTMLFormControlElement's hierarchy to the managed heap Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/StyleResolver.cpp ('k') | Source/core/dom/CheckedRadioButtons.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/css/StyleResolver.cpp ('k') | Source/core/dom/CheckedRadioButtons.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698