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

Unified Diff: Source/core/testing/Internals.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/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index f61a7b486f21d6043c260317fda40a4f414451fe..d9b4292ea4857ca210a851cfc33bde29b54eef2c 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -299,7 +299,7 @@ PassRefPtr<Element> Internals::createContentElement(ExceptionState& es)
return 0;
}
- return HTMLContentElement::create(document);
+ return HTMLContentElement::create(*document);
}
bool Internals::isValidContentSelect(Element* insertionPoint, ExceptionState& es)

Powered by Google App Engine
This is Rietveld 408576698