diff options
author | danakj <danakj@chromium.org> | 2014-12-16 10:26:44 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-16 18:27:10 +0000 |
commit | a29f852a1c39869236f970b2f818944ab64fc8b7 (patch) | |
tree | f4c9e4a4224f25277c68c4872ad3b918899450ca /cc/test/fake_picture_layer_impl.h | |
parent | c0411a00aebc99400e293fd9beca14d1acb6d4af (diff) | |
download | chromium_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.h | 9 |
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; } |