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

Unified Diff: cc/test/layer_tree_test.cc

Issue 2924233002: cc: Move pre-decodes to background worker. (Closed)
Patch Set: flake is flaky. T_T Created 3 years, 6 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
« no previous file with comments | « cc/test/fake_layer_tree_host_impl_client.cc ('k') | cc/test/test_hooks.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 2bd8d5be21544a640e5898ca382ad41a8f8b50db..14666f620ec64eed2d3c6b9345f0dc66c330c034 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -230,6 +230,7 @@ class LayerTreeHostImplForTesting : public LayerTreeHostImpl {
block_impl_side_invalidation_ = block;
if (!block_impl_side_invalidation_ && impl_side_invalidation_was_blocked_) {
RequestImplSideInvalidation();
+ impl_side_invalidation_was_blocked_ = false;
}
}
@@ -281,6 +282,7 @@ class LayerTreeHostImplForTesting : public LayerTreeHostImpl {
}
void RequestImplSideInvalidation() override {
+ test_hooks_->DidReceiveImplSideInvalidationRequest(this);
if (block_impl_side_invalidation_) {
impl_side_invalidation_was_blocked_ = true;
return;
« no previous file with comments | « cc/test/fake_layer_tree_host_impl_client.cc ('k') | cc/test/test_hooks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698