summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_picture_pile_impl.cc
diff options
context:
space:
mode:
authorvmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-28 06:59:05 +0000
committervmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-28 06:59:05 +0000
commit7be36d68bee0fc851e2a62dff6b71f85d746a019 (patch)
tree3aafaa1756e8cb0c7ed27065cdf4cf9533bcc018 /cc/test/fake_picture_pile_impl.cc
parent96e6a10394c75edd20750add82a535a54bfebe9b (diff)
downloadchromium_src-7be36d68bee0fc851e2a62dff6b71f85d746a019.zip
chromium_src-7be36d68bee0fc851e2a62dff6b71f85d746a019.tar.gz
chromium_src-7be36d68bee0fc851e2a62dff6b71f85d746a019.tar.bz2
Revert "cc: Allow activating to something other than high-res"
This reverts commit " cc: Allow activating to something other than high-res If the pending tree is only allowed to activate when it has all of its high res visible tiles ready to draw, then this can starve activation in cases where the pending tree could have activated earlier without a flash. ... " R=enne@chromium.org BUG=324002 Review URL: https://codereview.chromium.org/92363002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237720 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_picture_pile_impl.cc')
-rw-r--r--cc/test/fake_picture_pile_impl.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/cc/test/fake_picture_pile_impl.cc b/cc/test/fake_picture_pile_impl.cc
index 88c7d38..989c4f9 100644
--- a/cc/test/fake_picture_pile_impl.cc
+++ b/cc/test/fake_picture_pile_impl.cc
@@ -42,19 +42,6 @@ scoped_refptr<FakePicturePileImpl> FakePicturePileImpl::CreateEmptyPile(
return pile;
}
-scoped_refptr<FakePicturePileImpl>
-FakePicturePileImpl::CreatePileWithRecordedRegion(
- gfx::Size tile_size,
- gfx::Size layer_bounds,
- const Region& recorded_region) {
- scoped_refptr<FakePicturePileImpl> pile(new FakePicturePileImpl());
- pile->tiling().SetTotalSize(layer_bounds);
- pile->tiling().SetMaxTextureSize(tile_size);
- pile->SetTileGridSize(ImplSidePaintingSettings().default_tile_size);
- pile->SetRecordedRegionForTesting(recorded_region);
- return pile;
-}
-
scoped_refptr<FakePicturePileImpl> FakePicturePileImpl::CreatePile() {
scoped_refptr<FakePicturePileImpl> pile(new FakePicturePileImpl());
gfx::Size size(std::numeric_limits<int>::max(),