diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-07 20:58:26 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-07 20:58:26 +0000 |
commit | a23451e3979d1f5c68d5bf87ec30ae983327620d (patch) | |
tree | 33a621eab76db67cb4bdfcc5dc606d4ad954f4bd /cc/test | |
parent | 38b00508da0f7144f0edcc32c5ff6bf3e06ed715 (diff) | |
download | chromium_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/test')
-rw-r--r-- | cc/test/fake_layer_tree_host_impl_client.h | 1 | ||||
-rw-r--r-- | cc/test/fake_tile_manager_client.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/cc/test/fake_layer_tree_host_impl_client.h b/cc/test/fake_layer_tree_host_impl_client.h index 184bacc..dad4014 100644 --- a/cc/test/fake_layer_tree_host_impl_client.h +++ b/cc/test/fake_layer_tree_host_impl_client.h @@ -28,7 +28,6 @@ class FakeLayerTreeHostImplClient : public LayerTreeHostImplClient { virtual void SetNeedsRedrawRectOnImplThread(gfx::Rect damage_rect) OVERRIDE {} virtual void DidInitializeVisibleTileOnImplThread() OVERRIDE {} virtual void SetNeedsCommitOnImplThread() OVERRIDE {} - virtual void SetNeedsManageTilesOnImplThread() OVERRIDE {} virtual void PostAnimationEventsToMainThreadOnImplThread( scoped_ptr<AnimationEventsVector> events, base::Time wall_clock_time) OVERRIDE {} diff --git a/cc/test/fake_tile_manager_client.h b/cc/test/fake_tile_manager_client.h index faa444b..a031d8f 100644 --- a/cc/test/fake_tile_manager_client.h +++ b/cc/test/fake_tile_manager_client.h @@ -14,7 +14,6 @@ class FakeTileManagerClient : public TileManagerClient { virtual ~FakeTileManagerClient() {} // TileManagerClient implementation. - virtual void ScheduleManageTiles() OVERRIDE {} virtual void DidInitializeVisibleTile() OVERRIDE {} virtual bool ShouldForceTileUploadsRequiredForActivationToComplete() const OVERRIDE; |