Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: cc/test/fake_picture_layer_impl.h

Issue 343653004: cc: Don't add new tilings while syncing a tiling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: managetilingsinsync: . Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/test/fake_picture_layer_impl.h
diff --git a/cc/test/fake_picture_layer_impl.h b/cc/test/fake_picture_layer_impl.h
index 38caff85cdfd7193127e3effd1e539db09bd78a3..04661c461f2ea2eeb13a814e8a1cf2996abeb2d3 100644
--- a/cc/test/fake_picture_layer_impl.h
+++ b/cc/test/fake_picture_layer_impl.h
@@ -50,7 +50,6 @@ class FakePictureLayerImpl : public PictureLayerImpl {
using PictureLayerImpl::UpdateIdealScales;
using PictureLayerImpl::MaximumTilingContentsScale;
- using PictureLayerImpl::ManageTilings;
void SetNeedsPostCommitInitialization() {
needs_post_commit_initialization_ = true;
@@ -94,15 +93,6 @@ class FakePictureLayerImpl : public PictureLayerImpl {
void SetAllTilesReadyInTiling(PictureLayerTiling* tiling);
void ResetAllTilesPriorities();
- void ScaleAndManageTilings(bool animating_transform_to_screen,
- float maximum_animation_contents_scale) {
- UpdateIdealScales();
- if (CanHaveTilings()) {
- ManageTilings(animating_transform_to_screen,
- maximum_animation_contents_scale);
- }
- }
-
protected:
FakePictureLayerImpl(
LayerTreeImpl* tree_impl,

Powered by Google App Engine
This is Rietveld 408576698