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

Unified Diff: Source/core/html/HTMLFormElement.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/HTMLFormControlElementWithState.cpp ('k') | Source/core/html/HTMLFormElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLFormElement.h
diff --git a/Source/core/html/HTMLFormElement.h b/Source/core/html/HTMLFormElement.h
index c9757f86911c55a65e2faf6950078b661f7ccfde..65fca583154df28b3326d19c618df51de15d52d7 100644
--- a/Source/core/html/HTMLFormElement.h
+++ b/Source/core/html/HTMLFormElement.h
@@ -46,8 +46,8 @@ class HTMLInputElement;
class HTMLFormElement FINAL : public HTMLElement {
public:
- static PassRefPtr<HTMLFormElement> create(Document*);
- static PassRefPtr<HTMLFormElement> create(const QualifiedName&, Document*);
+ static PassRefPtr<HTMLFormElement> create(Document&);
+ static PassRefPtr<HTMLFormElement> create(const QualifiedName&, Document&);
virtual ~HTMLFormElement();
PassRefPtr<HTMLCollection> elements();
@@ -125,7 +125,7 @@ public:
void anonymousNamedGetter(const AtomicString& name, bool&, RefPtr<NodeList>&, bool&, RefPtr<Node>&);
private:
- HTMLFormElement(const QualifiedName&, Document*);
+ HTMLFormElement(const QualifiedName&, Document&);
virtual bool rendererIsNeeded(const NodeRenderingContext&);
virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
« no previous file with comments | « Source/core/html/HTMLFormControlElementWithState.cpp ('k') | Source/core/html/HTMLFormElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698