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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/WindowProxyManager.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/bindings/core/v8/WindowProxyManager.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/WindowProxyManager.cpp b/third_party/WebKit/Source/bindings/core/v8/WindowProxyManager.cpp
index 53e5ca3b35897a5093b81f352a1c245b02a5503c..753b12c486d326c2bce3ab72d64730529fac4032 100644
--- a/third_party/WebKit/Source/bindings/core/v8/WindowProxyManager.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/WindowProxyManager.cpp
@@ -26,6 +26,12 @@ void WindowProxyManager::ClearForNavigation() {
entry.value->ClearForNavigation();
}
+void WindowProxyManager::ClearForSwap() {
+ window_proxy_->ClearForSwap();
+ for (auto& entry : isolated_worlds_)
+ entry.value->ClearForSwap();
+}
+
void WindowProxyManager::ReleaseGlobalProxies(
GlobalProxyVector& global_proxies) {
DCHECK(global_proxies.IsEmpty());
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/WindowProxyManager.h ('k') | third_party/WebKit/Source/core/exported/WebFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698