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

Unified Diff: Source/core/loader/FrameLoader.cpp

Issue 594483002: Oilpan: extend tracing over WebFrame trees. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Improve weak callback registration Created 6 years, 2 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
« no previous file with comments | « Source/core/frame/LocalFrame.cpp ('k') | Source/web/OpenedFrameTracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/FrameLoader.cpp
diff --git a/Source/core/loader/FrameLoader.cpp b/Source/core/loader/FrameLoader.cpp
index 37d3db67ca3ef6d3766955301d8b4fe4d2314454..25a7c1ca5f57a70a70fdc27f1b7789ad8af22e92 100644
--- a/Source/core/loader/FrameLoader.cpp
+++ b/Source/core/loader/FrameLoader.cpp
@@ -251,8 +251,9 @@ void FrameLoader::didExplicitOpen()
void FrameLoader::clear()
{
- // clear() is called during (Local)Frame finalization and when creating
- // a new Document within it (DocumentLoader::createWriterFor().)
+ // clear() is called during (Local)Frame detachment or when
+ // reusing a FrameLoader by putting a new Document within it
+ // (DocumentLoader::ensureWriter().)
if (m_stateMachine.creatingInitialEmptyDocument())
return;
« no previous file with comments | « Source/core/frame/LocalFrame.cpp ('k') | Source/web/OpenedFrameTracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698