Chromium Code Reviews| Index: cc/test/fake_content_layer.h |
| diff --git a/cc/test/fake_content_layer.h b/cc/test/fake_content_layer.h |
| index 6b7a37d4c83bbace6191493781330d5b84c4ca70..c91e6d256913ac61838b7ea889b3f0f36b8003e0 100644 |
| --- a/cc/test/fake_content_layer.h |
| +++ b/cc/test/fake_content_layer.h |
| @@ -29,6 +29,10 @@ class FakeContentLayer : public ContentLayer { |
| ResourceUpdateQueue* queue, |
| const OcclusionTracker* occlusion) OVERRIDE; |
| + void set_always_update_resources(bool always_update) { |
| + always_update_ = always_update; |
| + } |
| + |
| virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; |
| bool HaveBackingAt(int i, int j); |
| @@ -39,6 +43,7 @@ class FakeContentLayer : public ContentLayer { |
| size_t update_count_; |
| size_t push_properties_count_; |
| + bool always_update_; |
|
danakj
2013/07/17 20:53:24
nit: always_update_resources_
enne (OOO)
2013/07/18 17:36:37
Done.
|
| }; |
| } // namespace cc |