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

Unified Diff: Source/core/html/HTMLOptionElement.h

Issue 23886003: Have HTMLElements / SVGElements constructors take a Document reference in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Another Android build fix Created 7 years, 3 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/html/HTMLOptGroupElement.cpp ('k') | Source/core/html/HTMLOptionElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLOptionElement.h
diff --git a/Source/core/html/HTMLOptionElement.h b/Source/core/html/HTMLOptionElement.h
index f1cb609332ad755afccc54ebf150fd903041f2cb..f3f055f3aef826e30d0d9a0b4fe3f5f825416869 100644
--- a/Source/core/html/HTMLOptionElement.h
+++ b/Source/core/html/HTMLOptionElement.h
@@ -35,9 +35,9 @@ class HTMLSelectElement;
class HTMLOptionElement FINAL : public HTMLElement {
public:
- static PassRefPtr<HTMLOptionElement> create(Document*);
- static PassRefPtr<HTMLOptionElement> create(const QualifiedName&, Document*);
- static PassRefPtr<HTMLOptionElement> createForJSConstructor(Document*, const String& data, const String& value,
+ static PassRefPtr<HTMLOptionElement> create(Document&);
+ static PassRefPtr<HTMLOptionElement> create(const QualifiedName&, Document&);
+ static PassRefPtr<HTMLOptionElement> createForJSConstructor(Document&, const String& data, const String& value,
bool defaultSelected, bool selected, ExceptionState&);
virtual String text() const;
@@ -66,7 +66,7 @@ public:
void setSelectedState(bool);
private:
- HTMLOptionElement(const QualifiedName&, Document*);
+ HTMLOptionElement(const QualifiedName&, Document&);
virtual bool rendererIsFocusable() const OVERRIDE;
virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; }
« no previous file with comments | « Source/core/html/HTMLOptGroupElement.cpp ('k') | Source/core/html/HTMLOptionElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698