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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutPart.h

Issue 1364063007: Throttle rendering pipeline for invisible frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix layout test by not dumping throttled FrameViews. 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/layout/LayoutPart.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutPart.h b/third_party/WebKit/Source/core/layout/LayoutPart.h
index 39a834ca76c80a4eec58f59ed8c0229eeb462923..1cefde91ab3c60798afca54ee489f3ccce4d37a6 100644
--- a/third_party/WebKit/Source/core/layout/LayoutPart.h
+++ b/third_party/WebKit/Source/core/layout/LayoutPart.h
@@ -54,6 +54,8 @@ public:
bool isLayoutPart() const final { return true; }
virtual void paintContents(const PaintInfo&, const LayoutPoint&) const;
+ bool isThrottledFrameView() const;
+
protected:
PaintLayerType layerTypeRequired() const override;

Powered by Google App Engine
This is Rietveld 408576698