summaryrefslogtreecommitdiffstats
path: root/cc/layers/picture_layer.h
diff options
context:
space:
mode:
authorchrishtr <chrishtr@chromium.org>2015-12-08 18:00:11 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-09 02:00:54 +0000
commitbb9af00d48a32bd944985827bd2624ac9fe301cd (patch)
treed355ea67880db026d099456c6c0989c56ac4cd63 /cc/layers/picture_layer.h
parentaa352f48555d63530c600ed357e49ccb3ddcc817 (diff)
downloadchromium_src-bb9af00d48a32bd944985827bd2624ac9fe301cd.zip
chromium_src-bb9af00d48a32bd944985827bd2624ac9fe301cd.tar.gz
chromium_src-bb9af00d48a32bd944985827bd2624ac9fe301cd.tar.bz2
Remove now-unneeded second invalidation region object from PictureLayer.
Blink should no longer be doing that, we have lots of asserts and code audits to prevent it. CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1495083002 Cr-Commit-Position: refs/heads/master@{#363902}
Diffstat (limited to 'cc/layers/picture_layer.h')
-rw-r--r--cc/layers/picture_layer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cc/layers/picture_layer.h b/cc/layers/picture_layer.h
index 6f4f17c..7eb87f0 100644
--- a/cc/layers/picture_layer.h
+++ b/cc/layers/picture_layer.h
@@ -60,10 +60,10 @@ class CC_EXPORT PictureLayer : public Layer {
scoped_ptr<DisplayListRecordingSource> recording_source_;
devtools_instrumentation::
ScopedLayerObjectTracker instrumentation_object_tracker_;
+
// Invalidation to use the next time update is called.
- InvalidationRegion pending_invalidation_;
- // Invalidation from the last time update was called.
- Region recording_invalidation_;
+ InvalidationRegion invalidation_;
+
gfx::Rect last_updated_visible_layer_rect_;
int update_source_frame_number_;