summaryrefslogtreecommitdiffstats
path: root/cc/layers/picture_layer_impl.h
diff options
context:
space:
mode:
authorhendrikw <hendrikw@chromium.org>2015-05-12 18:29:03 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-13 01:29:07 +0000
commitc5e91585651efbbaed34f4b90e4fcbfea75db7e1 (patch)
tree1f44c7233e8e5e9abe4331f75b67845a77e55755 /cc/layers/picture_layer_impl.h
parent3f6e6edc03797c0d114227872199ed7674ebbcc6 (diff)
downloadchromium_src-c5e91585651efbbaed34f4b90e4fcbfea75db7e1.zip
chromium_src-c5e91585651efbbaed34f4b90e4fcbfea75db7e1.tar.gz
chromium_src-c5e91585651efbbaed34f4b90e4fcbfea75db7e1.tar.bz2
cc: Move raster_source from Tile to PrioritizedTile
This moves more of the transitive state of the tile to PrioritizedTile which has a shorter lifetime, avoiding us to update properties on the tile. BUG= Review URL: https://codereview.chromium.org/1132443003 Cr-Commit-Position: refs/heads/master@{#329556}
Diffstat (limited to 'cc/layers/picture_layer_impl.h')
-rw-r--r--cc/layers/picture_layer_impl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h
index f8ffc67..f186f82 100644
--- a/cc/layers/picture_layer_impl.h
+++ b/cc/layers/picture_layer_impl.h
@@ -124,8 +124,8 @@ class CC_EXPORT PictureLayerImpl
bool ShouldAdjustRasterScaleDuringScaleAnimations() const;
void GetDebugBorderProperties(SkColor* color, float* width) const override;
- void GetAllTilesAndPrioritiesForTracing(
- std::map<const Tile*, TilePriority>* tile_map) const override;
+ void GetAllPrioritizedTilesForTracing(
+ std::vector<PrioritizedTile>* prioritized_tiles) const override;
void AsValueInto(base::trace_event::TracedValue* dict) const override;
virtual void UpdateIdealScales();