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

Unified Diff: third_party/WebKit/Source/core/xml/XSLTProcessor.cpp

Issue 2318913002: Rename Document::attach/detachLayoutTree to Document::initialize/shutdown (Closed)
Patch Set: temp Created 4 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: third_party/WebKit/Source/core/xml/XSLTProcessor.cpp
diff --git a/third_party/WebKit/Source/core/xml/XSLTProcessor.cpp b/third_party/WebKit/Source/core/xml/XSLTProcessor.cpp
index cf2c91163152f53dc0127b892a64bcbf7a2b5f0d..c154df9982762291647c2c8f955e844a3475611c 100644
--- a/third_party/WebKit/Source/core/xml/XSLTProcessor.cpp
+++ b/third_party/WebKit/Source/core/xml/XSLTProcessor.cpp
@@ -73,10 +73,10 @@ Document* XSLTProcessor::createDocumentFromSource(const String& sourceString,
if (frame) {
Document* oldDocument = frame->document();
// Before parsing, we need to save & detach the old document and get the new document
- // in place. Document::detachLayoutTree() tears down the FrameView, so remember whether or not
+ // in place. Document::shutdown() tears down the FrameView, so remember whether or not
// there was one.
bool hasView = frame->view();
- oldDocument->detachLayoutTree();
+ oldDocument->shutdown();
// Re-create the FrameView if needed.
if (hasView)
frame->loader().client()->transitionToCommittedForNewPage();

Powered by Google App Engine
This is Rietveld 408576698