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

Unified Diff: third_party/WebKit/public/web/WebWidget.h

Issue 1364063007: Throttle rendering pipeline for invisible frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Might help to include the test source code. 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: third_party/WebKit/public/web/WebWidget.h
diff --git a/third_party/WebKit/public/web/WebWidget.h b/third_party/WebKit/public/web/WebWidget.h
index 0b926bb9aad588c3b3fdf061d2061ba6069bd9aa..5535e111b0e5fd68b51b26cc0d71b944b2cd3cce 100644
--- a/third_party/WebKit/public/web/WebWidget.h
+++ b/third_party/WebKit/public/web/WebWidget.h
@@ -110,6 +110,8 @@ public:
virtual void paintCompositedDeprecated(WebCanvas*, const WebRect&) { }
+ virtual void didCommitCompositorFrame() { }
+
// Run layout and paint of all pending document changes asynchronously.
// The caller is resposible for keeping the WebLayoutAndPaintAsyncCallback
// object alive until it is called.

Powered by Google App Engine
This is Rietveld 408576698