diff options
author | reveman@google.com <reveman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-30 01:40:31 +0000 |
---|---|---|
committer | reveman@google.com <reveman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-30 01:40:31 +0000 |
commit | 0c4271ab8ab63b0ebdc657af17c009e432901b90 (patch) | |
tree | f19d8e9595ddf202f589ae25d46327feaf321be7 /cc | |
parent | af668e9b59e1ddae2159fd5e261de0f0a24b0f93 (diff) | |
download | chromium_src-0c4271ab8ab63b0ebdc657af17c009e432901b90.zip chromium_src-0c4271ab8ab63b0ebdc657af17c009e432901b90.tar.gz chromium_src-0c4271ab8ab63b0ebdc657af17c009e432901b90.tar.bz2 |
cc: Fix impl-side painting invalidation.
Need to call base class setNeedsDisplayRect function to properly
trigger update when needed.
BUG=155209
TEST=manual
Review URL: https://codereview.chromium.org/11414233
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170335 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc')
-rw-r--r-- | cc/picture_layer.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/picture_layer.cc b/cc/picture_layer.cc index cac70f7..ba95603 100644 --- a/cc/picture_layer.cc +++ b/cc/picture_layer.cc @@ -42,6 +42,7 @@ void PictureLayer::pushPropertiesTo(LayerImpl* base_layer) { void PictureLayer::setNeedsDisplayRect(const gfx::RectF& layer_rect) { gfx::Rect rect = gfx::ToEnclosedRect(layer_rect); pending_invalidation_.Union(rect); + Layer::setNeedsDisplayRect(layer_rect); } void PictureLayer::update(ResourceUpdateQueue&, const OcclusionTracker*, |