| Index: cc/layers/picture_layer_impl.h
|
| diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h
|
| index fc43b0797c286ec81a92a7226517a3e852cf6a7c..bf242518e7db0247c7fcd075a312e9c7ded64f68 100644
|
| --- a/cc/layers/picture_layer_impl.h
|
| +++ b/cc/layers/picture_layer_impl.h
|
| @@ -140,14 +140,6 @@
|
| WhichTree GetTree() const;
|
| bool IsOnActiveOrPendingTree() const;
|
|
|
| - // Return the count of tiles on this layer that meet both of the following
|
| - // conditions:
|
| - // 1. The tile is required for activation.
|
| - // 2. The tile needs initialization (ie, it's not ready to draw).
|
| - int UninitializedTilesRequiredForActivationCount() const {
|
| - return uninitialized_tiles_required_for_activation_count_;
|
| - }
|
| -
|
| protected:
|
| friend class LayerRasterTileIterator;
|
|
|
| @@ -171,13 +163,13 @@
|
| float SnappedContentsScale(float new_contents_scale);
|
| void UpdateLCDTextStatus(bool new_status);
|
| void ResetRasterScale();
|
| - void MarkVisibleResourcesAsRequired();
|
| + void MarkVisibleResourcesAsRequired() const;
|
| bool MarkVisibleTilesAsRequired(
|
| PictureLayerTiling* tiling,
|
| const PictureLayerTiling* optional_twin_tiling,
|
| float contents_scale,
|
| const gfx::Rect& rect,
|
| - const Region& missing_region);
|
| + const Region& missing_region) const;
|
|
|
| void DoPostCommitInitializationIfNeeded() {
|
| if (needs_post_commit_initialization_)
|
| @@ -229,8 +221,6 @@
|
| gfx::Size viewport_size_for_tile_priority_;
|
| gfx::Transform screen_space_transform_for_tile_priority_;
|
|
|
| - int uninitialized_tiles_required_for_activation_count_;
|
| -
|
| friend class PictureLayer;
|
| DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
|
| };
|
|
|