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

Unified Diff: cc/test/layer_tree_test.cc

Issue 16871016: cc: Use BeginFrameArgs (Closed) Base URL: http://git.chromium.org/chromium/src.git@bfargs2
Patch Set: else if typo Created 7 years, 5 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 6a435054de7ac35a4b4c8ebecb37133862bbe417..f02f595098e97558aa0cf7ccfb95eb5d8e23a38c 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -75,6 +75,11 @@ class LayerTreeHostImplForTesting : public LayerTreeHostImpl {
stats_instrumentation),
test_hooks_(test_hooks) {}
+ virtual void BeginFrame(const BeginFrameArgs &args) OVERRIDE {
+ test_hooks_->WillBeginFrameOnThread(this, args);
+ LayerTreeHostImpl::BeginFrame(args);
+ }
+
virtual void BeginCommit() OVERRIDE {
LayerTreeHostImpl::BeginCommit();
test_hooks_->BeginCommitOnThread(this);

Powered by Google App Engine
This is Rietveld 408576698