summaryrefslogtreecommitdiffstats
path: root/cc/layers
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-07 20:58:26 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-07 20:58:26 +0000
commita23451e3979d1f5c68d5bf87ec30ae983327620d (patch)
tree33a621eab76db67cb4bdfcc5dc606d4ad954f4bd /cc/layers
parent38b00508da0f7144f0edcc32c5ff6bf3e06ed715 (diff)
downloadchromium_src-a23451e3979d1f5c68d5bf87ec30ae983327620d.zip
chromium_src-a23451e3979d1f5c68d5bf87ec30ae983327620d.tar.gz
chromium_src-a23451e3979d1f5c68d5bf87ec30ae983327620d.tar.bz2
cc: Call ManageTiles explicitly
ManageTiles used to be scheduled as a post task to run "whenever". This was fine back when activation checks used the exact state of the tree. However, now that activation has been moved to tile manager, ManageTiles is now responsible for keeping the activation check up to date and needs to be called immediately after commit to makes sure that new work has been marked as required. Before this patch, ManageTiles would generally run after commits and after drawing due to the nature of scheduling. This patch keeps that behavior by doing a ManageTiles after a commit and after drawing. R=reveman@chromium.org BUG=243531 Review URL: https://chromiumcodereview.appspot.com/15855008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204923 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layers')
-rw-r--r--cc/layers/picture_layer_impl.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/layers/picture_layer_impl.cc b/cc/layers/picture_layer_impl.cc
index c130588..bc57bd7 100644
--- a/cc/layers/picture_layer_impl.cc
+++ b/cc/layers/picture_layer_impl.cc
@@ -362,6 +362,7 @@ void PictureLayerImpl::UpdateTilePriorities() {
void PictureLayerImpl::DidBecomeActive() {
LayerImpl::DidBecomeActive();
tilings_->DidBecomeActive();
+ layer_tree_impl()->WillModifyTilePriorities();
}
void PictureLayerImpl::DidBeginTracing() {