summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_picture_layer.cc
diff options
context:
space:
mode:
authordanakj <danakj@chromium.org>2015-06-18 17:01:40 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-19 00:03:21 +0000
commit5f46636a8a12805c766fb5b9b448f0061d7e2454 (patch)
tree4a0070d96806c3bfdff5ff59d29650eaecdd53a6 /cc/test/fake_picture_layer.cc
parent2fc587ca7953483ebd9e8d71636d2a1b28a59c06 (diff)
downloadchromium_src-5f46636a8a12805c766fb5b9b448f0061d7e2454.zip
chromium_src-5f46636a8a12805c766fb5b9b448f0061d7e2454.tar.gz
chromium_src-5f46636a8a12805c766fb5b9b448f0061d7e2454.tar.bz2
cc: Stop passing a ResourceUpdateQueue to Layer::Update().
The queue is unused so there's no need to pass it around. This is a minimal change to just stop passing the queue, it doesn't change the proxies yet. They can stop making a queue entirely in the future. R=enne, vmpstr BUG=413479 Review URL: https://codereview.chromium.org/1177223008 Cr-Commit-Position: refs/heads/master@{#335168}
Diffstat (limited to 'cc/test/fake_picture_layer.cc')
-rw-r--r--cc/test/fake_picture_layer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/test/fake_picture_layer.cc b/cc/test/fake_picture_layer.cc
index c3b5908..0732b30 100644
--- a/cc/test/fake_picture_layer.cc
+++ b/cc/test/fake_picture_layer.cc
@@ -42,10 +42,10 @@ scoped_ptr<LayerImpl> FakePictureLayer::CreateLayerImpl(
return FakePictureLayerImpl::Create(tree_impl, layer_id_);
}
-bool FakePictureLayer::Update(ResourceUpdateQueue* queue) {
+bool FakePictureLayer::Update() {
if (disable_lcd_text_)
draw_properties().can_use_lcd_text = false;
- bool updated = PictureLayer::Update(queue);
+ bool updated = PictureLayer::Update();
update_count_++;
return updated || always_update_resources_;
}