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

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

Issue 1246173002: Throttle rendering pipeline for invisible iframes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Ojan's comments. Created 5 years, 3 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: Source/core/frame/LocalFrame.h
diff --git a/Source/core/frame/LocalFrame.h b/Source/core/frame/LocalFrame.h
index ff6435e7c985ccd9b39a842d1b758916941cc568..d5e46ec1d9493bd5da5fefbc165e26eabe3b6d50 100644
--- a/Source/core/frame/LocalFrame.h
+++ b/Source/core/frame/LocalFrame.h
@@ -180,6 +180,9 @@ public:
DisplayItemClient displayItemClient() const { return toDisplayItemClient(this); }
String debugName() const { return "LocalFrame"; }
+ bool shouldThrottleRenderingPipeline() const;
+ bool shouldThrottleStyleLayoutAndCompositingUpdates() const;
+
// ========
private:

Powered by Google App Engine
This is Rietveld 408576698