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

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: New test for texture state 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 ed97752eb2a5dfd5b3b829a3171df69d0a14a74f..9d83a48e2ac5499f62098a0b7c366604588e114c 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