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

Unified Diff: Source/core/html/HTMLUnknownElement.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/HTMLUListElement.cpp ('k') | Source/core/html/HTMLVideoElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLUnknownElement.h
diff --git a/Source/core/html/HTMLUnknownElement.h b/Source/core/html/HTMLUnknownElement.h
index 4839654613b16abc57f2f0e6e7dc9dad60de1429..be493b1bf4e48fbe3e83c8305565e96733aeadb6 100644
--- a/Source/core/html/HTMLUnknownElement.h
+++ b/Source/core/html/HTMLUnknownElement.h
@@ -36,7 +36,7 @@ namespace WebCore {
class HTMLUnknownElement FINAL : public HTMLElement {
public:
- static PassRefPtr<HTMLUnknownElement> create(const QualifiedName& tagName, Document* document)
+ static PassRefPtr<HTMLUnknownElement> create(const QualifiedName& tagName, Document& document)
{
return adoptRef(new HTMLUnknownElement(tagName, document));
}
@@ -44,7 +44,7 @@ public:
virtual bool isHTMLUnknownElement() const OVERRIDE { return true; }
private:
- HTMLUnknownElement(const QualifiedName& tagName, Document* document)
+ HTMLUnknownElement(const QualifiedName& tagName, Document& document)
: HTMLElement(tagName, document)
{
ScriptWrappable::init(this);
« no previous file with comments | « Source/core/html/HTMLUListElement.cpp ('k') | Source/core/html/HTMLVideoElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698