diff options
author | epenner@chromium.org <epenner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-24 13:51:19 +0000 |
---|---|---|
committer | epenner@chromium.org <epenner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-24 13:51:19 +0000 |
commit | 1bcced2a88a693aef5351ba98b8945b4d6417b14 (patch) | |
tree | 39475f99f148a9729956aa7d8593561686513cdc /cc/test/fake_tile_manager.h | |
parent | 83daccedacc8669a90d0d942bcce2df1ce018263 (diff) | |
download | chromium_src-1bcced2a88a693aef5351ba98b8945b4d6417b14.zip chromium_src-1bcced2a88a693aef5351ba98b8945b4d6417b14.tar.gz chromium_src-1bcced2a88a693aef5351ba98b8945b4d6417b14.tar.bz2 |
CC: Fix raster-on-demand (due to stale sort order).
Tile sort order dirty bit didn't respect tree priority
changes. This patch only updates GlobalState on ManageTiles,
to ensure the state is consistent with tile sorting.
BUG=295331
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/24269016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224994 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_tile_manager.h')
-rw-r--r-- | cc/test/fake_tile_manager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/test/fake_tile_manager.h b/cc/test/fake_tile_manager.h index 6a5b6ac..b2fa495 100644 --- a/cc/test/fake_tile_manager.h +++ b/cc/test/fake_tile_manager.h @@ -19,7 +19,8 @@ class FakeTileManager : public TileManager { ResourceProvider* resource_provider); bool HasBeenAssignedMemory(Tile* tile); - void AssignMemoryToTiles(); + void AssignMemoryToTiles( + const GlobalStateThatImpactsTilePriority& state); void CheckForCompletedTasks(); |