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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.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/frame/LocalFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
index f6d5c1a2c19a1d6d69d9666b2f015db7605b7a33..f0a873088ea0ffe6f1ae3c12ae8791ec5255698f 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
@@ -368,10 +368,10 @@ void LocalFrame::detach(FrameDetachType type)
// handlers might start a new subresource load in this frame.
m_loader.stopAllLoaders();
m_loader.detach();
- document()->detachLayoutTree();
+ document()->shutdown();
// This is the earliest that scripting can be disabled:
// - FrameLoader::detach() can fire XHR abort events
- // - Document::detachLayoutTree()'s deferred widget updates can run script.
+ // - Document::shutdown()'s deferred widget updates can run script.
ScriptForbiddenScope forbidScript;
m_loader.clear();
if (!client())

Powered by Google App Engine
This is Rietveld 408576698