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

Unified Diff: Source/core/html/LabelableElement.cpp

Issue 23886003: Have HTMLElements / SVGElements constructors take a Document reference in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix tests build 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
Index: Source/core/html/LabelableElement.cpp
diff --git a/Source/core/html/LabelableElement.cpp b/Source/core/html/LabelableElement.cpp
index d741dd2555410d9da08a531c05d2b6de339008ba..5eeab71514ce181c3b91761d9fa9f26a24bb0167 100644
--- a/Source/core/html/LabelableElement.cpp
+++ b/Source/core/html/LabelableElement.cpp
@@ -30,7 +30,7 @@
namespace WebCore {
-LabelableElement::LabelableElement(const QualifiedName& tagName, Document* document)
+LabelableElement::LabelableElement(const QualifiedName& tagName, Document& document)
: HTMLElement(tagName, document)
{
}

Powered by Google App Engine
This is Rietveld 408576698