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

Unified Diff: third_party/WebKit/Source/core/exported/WebFrame.cpp

Issue 2948983002: Low memory page navigation GC for low end devices (Closed)
Patch Set: fix Created 3 years, 6 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/exported/WebFrame.cpp
diff --git a/third_party/WebKit/Source/core/exported/WebFrame.cpp b/third_party/WebKit/Source/core/exported/WebFrame.cpp
index 21ac08cf785e19b39dede5617fcfd5db72b7adb2..7513a77001ee04efe6c2432e7280156daa06ef54 100644
--- a/third_party/WebKit/Source/core/exported/WebFrame.cpp
+++ b/third_party/WebKit/Source/core/exported/WebFrame.cpp
@@ -84,7 +84,7 @@ bool WebFrame::Swap(WebFrame* frame) {
v8::HandleScope handle_scope(v8::Isolate::GetCurrent());
WindowProxyManager::GlobalProxyVector global_proxies;
- old_frame->GetWindowProxyManager()->ClearForNavigation();
+ old_frame->GetWindowProxyManager()->ClearForSwap();
old_frame->GetWindowProxyManager()->ReleaseGlobalProxies(global_proxies);
// Although the Document in this frame is now unloaded, many resources

Powered by Google App Engine
This is Rietveld 408576698