summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_picture_layer_impl.h
diff options
context:
space:
mode:
authordanakj <danakj@chromium.org>2014-12-16 10:26:44 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-16 18:27:10 +0000
commita29f852a1c39869236f970b2f818944ab64fc8b7 (patch)
treef4c9e4a4224f25277c68c4872ad3b918899450ca /cc/test/fake_picture_layer_impl.h
parentc0411a00aebc99400e293fd9beca14d1acb6d4af (diff)
downloadchromium_src-a29f852a1c39869236f970b2f818944ab64fc8b7.zip
chromium_src-a29f852a1c39869236f970b2f818944ab64fc8b7.tar.gz
chromium_src-a29f852a1c39869236f970b2f818944ab64fc8b7.tar.bz2
cc: Remove the PostCommitInitialization from PictureLayerImpl.
This code no longer does anything at all, except track a bool that says if we should do it. So let's remove it! BUG=387116 Review URL: https://codereview.chromium.org/807193002 Cr-Commit-Position: refs/heads/master@{#308614}
Diffstat (limited to 'cc/test/fake_picture_layer_impl.h')
-rw-r--r--cc/test/fake_picture_layer_impl.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/cc/test/fake_picture_layer_impl.h b/cc/test/fake_picture_layer_impl.h
index d633051..007b039 100644
--- a/cc/test/fake_picture_layer_impl.h
+++ b/cc/test/fake_picture_layer_impl.h
@@ -76,7 +76,6 @@ class FakePictureLayerImpl : public PictureLayerImpl {
using PictureLayerImpl::AddTiling;
using PictureLayerImpl::CleanUpTilingsOnActiveLayer;
using PictureLayerImpl::CanHaveTilings;
- using PictureLayerImpl::DoPostCommitInitializationIfNeeded;
using PictureLayerImpl::MinimumContentsScale;
using PictureLayerImpl::GetViewportForTilePriorityInContentSpace;
using PictureLayerImpl::SanityCheckTilingState;
@@ -86,14 +85,6 @@ class FakePictureLayerImpl : public PictureLayerImpl {
using PictureLayerImpl::UpdateIdealScales;
using PictureLayerImpl::MaximumTilingContentsScale;
- void SetNeedsPostCommitInitialization() {
- needs_post_commit_initialization_ = true;
- }
-
- bool needs_post_commit_initialization() const {
- return needs_post_commit_initialization_;
- }
-
float raster_page_scale() const { return raster_page_scale_; }
void set_raster_page_scale(float scale) { raster_page_scale_ = scale; }