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

Unified Diff: cc/test/layer_tree_test.cc

Issue 15139007: Ensure LayerTreeHostImpl's current frame time is updated every frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/test/layer_tree_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 95ee7b2e06ed0de6a0bb6940ba8131c7b153f658..7458048554218e8282ba2c2db8eed7d223ddf4a3 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -38,7 +38,7 @@ bool TestHooks::PrepareToDrawOnThread(LayerTreeHostImpl* host_impl,
return true;
}
-bool TestHooks::CanActivatePendingTree() {
+bool TestHooks::CanActivatePendingTree(LayerTreeHostImpl* host_impl) {
return true;
}
@@ -113,7 +113,7 @@ class LayerTreeHostImplForTesting : public LayerTreeHostImpl {
if (!pending_tree())
return false;
- if (!test_hooks_->CanActivatePendingTree())
+ if (!test_hooks_->CanActivatePendingTree(this))
return false;
bool activated = LayerTreeHostImpl::ActivatePendingTreeIfNeeded();

Powered by Google App Engine
This is Rietveld 408576698