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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.h

Issue 1364063007: Throttle rendering pipeline for invisible frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Early-out for intersection update walk. Created 5 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
Index: third_party/WebKit/Source/core/frame/LocalFrame.h
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.h b/third_party/WebKit/Source/core/frame/LocalFrame.h
index ce17bb37a70e980ed2ea2f1ed08924d7f78fe702..979691d385ce0a09c8dadbe36594bf7bf6200ff2 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.h
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.h
@@ -182,6 +182,9 @@ public:
DisplayItemClient displayItemClient() const { return toDisplayItemClient(this); }
String debugName() const { return "LocalFrame"; }
+ bool shouldThrottleRendering() const;
+ bool shouldThrottleRenderingIfAllowed() const;
+
// ========
// Returns the frame scheduler, creating one if needed.

Powered by Google App Engine
This is Rietveld 408576698