Index: cc/layers/picture_layer_impl.h |
diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h |
index f6a65242bf87195c61f8e5eac4ebc00f4b337abd..4ef79f11631cbbefaaca03dc52b90679e6c36fef 100644 |
--- a/cc/layers/picture_layer_impl.h |
+++ b/cc/layers/picture_layer_impl.h |
@@ -98,11 +98,12 @@ class CC_EXPORT PictureLayerImpl |
protected: |
PictureLayerImpl(LayerTreeImpl* tree_impl, int id, bool is_mask); |
- PictureLayerTiling* AddTiling(float contents_scale); |
+ PictureLayerTiling* AddTiling(const ScaleTranslate2d& contents_transform); |
void RemoveAllTilings(); |
void AddTilingsForRasterScale(); |
void AddLowResolutionTilingIfNeeded(); |
bool ShouldAdjustRasterScale() const; |
+ gfx::Vector2dF CalculateRasterTranslation(float raster_scale); |
void RecalculateRasterScales(); |
void CleanUpTilingsOnActiveLayer( |
const std::vector<PictureLayerTiling*>& used_tilings); |