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

Unified Diff: cc/test/layer_tree_test.cc

Issue 19106007: cc: Allow the main thread to cancel commits (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix scheduler tests 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 6d7a4d6834d87c05a91b5bccfe5645ebcc6e8771..85bdcdb1a7279836b08578422380d4643fdac822 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -233,9 +233,13 @@ class LayerTreeHostClientForTesting : public LayerTreeHostClient {
}
virtual ~LayerTreeHostClientForTesting() {}
- virtual void WillBeginFrame() OVERRIDE {}
+ virtual void WillBeginFrame() OVERRIDE {
+ test_hooks_->WillBeginFrame();
+ }
- virtual void DidBeginFrame() OVERRIDE {}
+ virtual void DidBeginFrame() OVERRIDE {
+ test_hooks_->DidBeginFrame();
+ }
virtual void Animate(double monotonic_time) OVERRIDE {
test_hooks_->Animate(base::TimeTicks::FromInternalValue(
@@ -263,7 +267,9 @@ class LayerTreeHostClientForTesting : public LayerTreeHostClient {
test_hooks_->DidFailToInitializeOutputSurface();
}
- virtual void WillCommit() OVERRIDE {}
+ virtual void WillCommit() OVERRIDE {
+ test_hooks_->WillCommit();
+ }
virtual void DidCommit() OVERRIDE {
test_hooks_->DidCommit();

Powered by Google App Engine
This is Rietveld 408576698