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

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: 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
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index a9f5313e46dd9327c41c245a8535b97d43bf4e7e..1d4ed43be636e1c8a64d26f343e3cfb5be7c9bdf 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -654,7 +654,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();
}
« Source/core/dom/DOMImplementation.cpp ('K') | « Source/core/dom/DOMImplementation.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698