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

Unified Diff: third_party/WebKit/Source/core/page/ScopedPageSuspender.h

Issue 2616513002: Make sure pages that are closing but not yet closed are still suspended. (Closed)
Patch Set: Created 3 years, 12 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/page/ScopedPageSuspender.h
diff --git a/third_party/WebKit/Source/core/page/ScopedPageSuspender.h b/third_party/WebKit/Source/core/page/ScopedPageSuspender.h
index f24f38afc851955da161b7a159171ba6d3430e27..2889f8a0453b3f68f112347679bced1b218d49c0 100644
--- a/third_party/WebKit/Source/core/page/ScopedPageSuspender.h
+++ b/third_party/WebKit/Source/core/page/ScopedPageSuspender.h
@@ -36,6 +36,10 @@ class CORE_EXPORT ScopedPageSuspender final {
explicit ScopedPageSuspender();
~ScopedPageSuspender();
+ private:
+ friend class Page;
+
+ static void setSuspended(bool);
static bool isActive();
};
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.cpp ('k') | third_party/WebKit/Source/core/page/ScopedPageSuspender.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698