summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_picture_layer_tiling_client.cc
diff options
context:
space:
mode:
authorsohan.jyoti@samsung.com <sohan.jyoti@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-04 08:43:47 +0000
committersohan.jyoti@samsung.com <sohan.jyoti@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-04 08:43:47 +0000
commit317fd0c6267fd2d4e1e941b00a4951207205026b (patch)
tree60aef551e07fc5d7bbe05f6e227e355210464a29 /cc/test/fake_picture_layer_tiling_client.cc
parent81b6f8373298eb4d7389661c177083a54b597866 (diff)
downloadchromium_src-317fd0c6267fd2d4e1e941b00a4951207205026b.zip
chromium_src-317fd0c6267fd2d4e1e941b00a4951207205026b.tar.gz
chromium_src-317fd0c6267fd2d4e1e941b00a4951207205026b.tar.bz2
cc: Do not cleanup tiles with raster tasks.
During cleanup, this keeps the tiles around until the associated raster tasks completes running on the worker thread. We reset the priority of the tile on the tree it lies before dropping it. BUG=386039 Review URL: https://codereview.chromium.org/366113002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287304 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_picture_layer_tiling_client.cc')
-rw-r--r--cc/test/fake_picture_layer_tiling_client.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/test/fake_picture_layer_tiling_client.cc b/cc/test/fake_picture_layer_tiling_client.cc
index 7834bc0..2bd756d 100644
--- a/cc/test/fake_picture_layer_tiling_client.cc
+++ b/cc/test/fake_picture_layer_tiling_client.cc
@@ -79,4 +79,8 @@ const PictureLayerTiling* FakePictureLayerTilingClient::GetTwinTiling(
return twin_tiling_;
}
+WhichTree FakePictureLayerTilingClient::GetTree() const {
+ return tree_;
+}
+
} // namespace cc