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

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

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/HTMLLabelElement.h
diff --git a/Source/core/html/HTMLLabelElement.h b/Source/core/html/HTMLLabelElement.h
index 4c11115218a98206c8ba0f6308560295af9854ad..1b0007a17b39076a6647e564895288c35f88b0f0 100644
--- a/Source/core/html/HTMLLabelElement.h
+++ b/Source/core/html/HTMLLabelElement.h
@@ -31,7 +31,7 @@ namespace WebCore {
class HTMLLabelElement FINAL : public HTMLElement {
public:
- static PassRefPtr<HTMLLabelElement> create(const QualifiedName&, Document*);
+ static PassRefPtr<HTMLLabelElement> create(const QualifiedName&, Document&);
LabelableElement* control();
HTMLFormElement* form() const;
@@ -39,7 +39,7 @@ public:
virtual bool willRespondToMouseClickEvents() OVERRIDE;
private:
- HTMLLabelElement(const QualifiedName&, Document*);
+ HTMLLabelElement(const QualifiedName&, Document&);
virtual bool rendererIsFocusable() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698