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

Unified Diff: Source/core/html/shadow/PasswordGeneratorButtonElement.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
Index: Source/core/html/shadow/PasswordGeneratorButtonElement.h
diff --git a/Source/core/html/shadow/PasswordGeneratorButtonElement.h b/Source/core/html/shadow/PasswordGeneratorButtonElement.h
index 3a3d7c1c2143557ffef0fd469c182f01e8094884..e0853ead16caab80c42fdbd5f9369b4ffac4c8bf 100644
--- a/Source/core/html/shadow/PasswordGeneratorButtonElement.h
+++ b/Source/core/html/shadow/PasswordGeneratorButtonElement.h
@@ -42,7 +42,7 @@ class ShadowRoot;
class PasswordGeneratorButtonElement FINAL : public HTMLDivElement {
public:
- static PassRefPtr<PasswordGeneratorButtonElement> create(Document* document)
+ static PassRefPtr<PasswordGeneratorButtonElement> create(Document& document)
{
return adoptRef(new PasswordGeneratorButtonElement(document));
}
@@ -53,7 +53,7 @@ public:
virtual bool willRespondToMouseClickEvents() OVERRIDE;
private:
- PasswordGeneratorButtonElement(Document*);
+ PasswordGeneratorButtonElement(Document&);
virtual bool isPasswordGeneratorButtonElement() const OVERRIDE { return true; }
virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE;
virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
« no previous file with comments | « Source/core/html/shadow/MeterShadowElement.cpp ('k') | Source/core/html/shadow/PasswordGeneratorButtonElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698