Index: cc/test/fake_layer_tree_host_impl_client.h |
diff --git a/cc/test/fake_layer_tree_host_impl_client.h b/cc/test/fake_layer_tree_host_impl_client.h |
index 4bcc5b098a911f5f67789608a8b689bafabce47d..4dd405ddab916bb966146d35edbee2704da9a622 100644 |
--- a/cc/test/fake_layer_tree_host_impl_client.h |
+++ b/cc/test/fake_layer_tree_host_impl_client.h |
@@ -35,7 +35,17 @@ class FakeLayerTreeHostImplClient : public LayerTreeHostImplClient { |
void DidPrepareTiles() override {} |
void DidCompletePageScaleAnimationOnImplThread() override {} |
void OnDrawForCompositorFrameSink(bool resourceless_software_draw) override {} |
- void NeedsImplSideInvalidation() override {} |
+ void NeedsImplSideInvalidation() override; |
+ |
+ void reset_did_request_impl_side_invalidation() { |
+ did_request_impl_side_invalidation_ = false; |
+ } |
+ bool did_request_impl_side_invalidation() const { |
+ return did_request_impl_side_invalidation_; |
+ } |
+ |
+ private: |
+ bool did_request_impl_side_invalidation_ = false; |
}; |
} // namespace cc |