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

Unified Diff: cc/test/layer_tree_test.cc

Issue 2757373002: Fixing flakiness of TextureLayerChangeInvisibleMailboxTest (Closed)
Patch Set: Rename Created 3 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/test/layer_tree_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 60077ec082d0e944523091ef1d2a3514f9fb6a84..94dd0a7ff549429c101f80d77d10b3ecf6ce4d67 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -279,6 +279,12 @@ class LayerTreeHostImplForTesting : public LayerTreeHostImpl {
test_hooks_->DidRequestImplSideInvalidation(this);
}
+ void DidReceiveCompositorFrameAck() override {
+ test_hooks_->WillReceiveCompositorFrameAckOnImplThread();
+ LayerTreeHostImpl::DidReceiveCompositorFrameAck();
+ test_hooks_->DidReceiveCompositorFrameAckOnImplThread();
+ }
+
AnimationHost* animation_host() const {
return static_cast<AnimationHost*>(mutator_host());
}
« no previous file with comments | « cc/layers/texture_layer_unittest.cc ('k') | cc/test/test_hooks.h » ('j') | cc/test/test_hooks.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698