diff options
Diffstat (limited to 'cc/test/fake_content_layer.cc')
-rw-r--r-- | cc/test/fake_content_layer.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cc/test/fake_content_layer.cc b/cc/test/fake_content_layer.cc index a30ea95..5d452ea 100644 --- a/cc/test/fake_content_layer.cc +++ b/cc/test/fake_content_layer.cc @@ -24,10 +24,11 @@ scoped_ptr<LayerImpl> FakeContentLayer::CreateLayerImpl( return FakeContentLayerImpl::Create(tree_impl, layer_id_).PassAs<LayerImpl>(); } -void FakeContentLayer::Update(ResourceUpdateQueue* queue, +bool FakeContentLayer::Update(ResourceUpdateQueue* queue, const OcclusionTracker* occlusion) { - ContentLayer::Update(queue, occlusion); + bool updated = ContentLayer::Update(queue, occlusion); update_count_++; + return updated; } bool FakeContentLayer::HaveBackingAt(int i, int j) { |