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

Unified Diff: components/test_runner/web_test_proxy.cc

Issue 1246173002: Throttle rendering pipeline for invisible iframes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased to post merge awesomeness. 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
« no previous file with comments | « no previous file | content/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/web_test_proxy.cc
diff --git a/components/test_runner/web_test_proxy.cc b/components/test_runner/web_test_proxy.cc
index 456a41fbad44aac25b7d48cb88fb96ae2a020512..1a1633b1ce08422e8619d5e7b4ca06bb1476f406 100644
--- a/components/test_runner/web_test_proxy.cc
+++ b/components/test_runner/web_test_proxy.cc
@@ -769,9 +769,11 @@ void WebTestProxyBase::AnimateNow() {
animate_scheduled_ = false;
web_widget_->beginFrame(args);
web_widget_->layout();
+ web_widget_->didCommitCompositorFrame();
if (blink::WebPagePopup* popup = web_widget_->pagePopup()) {
popup->beginFrame(args);
popup->layout();
+ popup->didCommitCompositorFrame();
}
}
}
« no previous file with comments | « no previous file | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698