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

Unified Diff: Source/core/dom/Document.cpp

Issue 65043011: Have DOMImplementation take the Document argument by reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 7 years, 1 month 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/dom/DOMImplementation.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index d507bf2a78af9110224ac5339df52ef7f4223299..c55efbd7ec6591c3e45ee5c6e5a6fb6537f34f69 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -645,7 +645,7 @@ void Document::setDoctype(PassRefPtr<DocumentType> docType)
DOMImplementation* Document::implementation()
{
if (!m_implementation)
- m_implementation = DOMImplementation::create(this);
+ m_implementation = DOMImplementation::create(*this);
return m_implementation.get();
}
« no previous file with comments | « Source/core/dom/DOMImplementation.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698