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

Unified Diff: cc/trees/layer_tree_host_unittest_delegated.cc

Issue 199523002: cc: Throttle swaps in Scheduler instead of OutputSurface (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase; DidSwapBuffersComplete Created 6 years, 8 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: cc/trees/layer_tree_host_unittest_delegated.cc
diff --git a/cc/trees/layer_tree_host_unittest_delegated.cc b/cc/trees/layer_tree_host_unittest_delegated.cc
index 7cf8e6925853dad53aff840640a9a6785a4026ce..ab5e4c20c8a3c0cc410cd5f8e278d17e4f647b4f 100644
--- a/cc/trees/layer_tree_host_unittest_delegated.cc
+++ b/cc/trees/layer_tree_host_unittest_delegated.cc
@@ -240,7 +240,6 @@ class LayerTreeHostDelegatedTest : public LayerTreeTest {
for (size_t i = 0; i < resources_to_return.size(); ++i)
output_surface()->ReturnResource(resources_to_return[i], &ack);
host_impl->ReclaimResources(&ack);
- host_impl->OnSwapBuffersComplete();
danakj 2014/04/11 15:12:28 Can you explain why this is no longer needed in te
brianderson 2014/04/11 20:49:40 I think it was a bug that they were needed in the
}
};
@@ -1648,7 +1647,6 @@ class LayerTreeHostDelegatedTestResourceSentToParent
CompositorFrameAck ack;
output_surface()->ReturnResource(map.find(999)->second, &ack);
host_impl->ReclaimResources(&ack);
- host_impl->OnSwapBuffersComplete();
}
virtual void UnusedResourcesAreAvailable() OVERRIDE {

Powered by Google App Engine
This is Rietveld 408576698