summaryrefslogtreecommitdiffstats
path: root/cc/layers/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/layers/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/layers/picture_layer_impl.h')
-rw-r--r--cc/layers/picture_layer_impl.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h
index 259feea..7ad4e7e 100644
--- a/cc/layers/picture_layer_impl.h
+++ b/cc/layers/picture_layer_impl.h
@@ -125,12 +125,6 @@ class CC_EXPORT PictureLayerImpl
gfx::Rect GetViewportForTilePriorityInContentSpace() const;
PictureLayerImpl* GetRecycledTwinLayer() const;
- void DoPostCommitInitializationIfNeeded() {
- if (needs_post_commit_initialization_)
- DoPostCommitInitialization();
- }
- void DoPostCommitInitialization();
-
bool CanHaveTilingWithScale(float contents_scale) const;
void SanityCheckTilingState() const;
// Checks if all tiles required for a certain action (e.g. activation) are
@@ -168,7 +162,6 @@ class CC_EXPORT PictureLayerImpl
bool raster_source_scale_is_fixed_;
bool was_screen_space_transform_animating_;
- bool needs_post_commit_initialization_;
// A sanity state check to make sure UpdateTilePriorities only gets called
// after a CalculateContentsScale/ManageTilings.
bool should_update_tile_priorities_;