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

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 9a4c20033d35631fc5eb678b3485808daa7278bc..6bc15167aa0f2b1916c3edc28f2c95a125acf676 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