Index: cc/picture_layer_tiling_set.h |
diff --git a/cc/picture_layer_tiling_set.h b/cc/picture_layer_tiling_set.h |
index 55bf71ef45be12147fef1e2fc0a959264df50da2..ddb8ffaff24cbb7131000b0781e0f403bc7e0f8b 100644 |
--- a/cc/picture_layer_tiling_set.h |
+++ b/cc/picture_layer_tiling_set.h |
@@ -52,7 +52,10 @@ class CC_EXPORT PictureLayerTilingSet { |
// exactly fill rect with no overlap. |
class CC_EXPORT Iterator { |
public: |
- Iterator(PictureLayerTilingSet* set, float contents_scale, gfx::Rect rect); |
+ Iterator( |
+ const PictureLayerTilingSet* set, |
+ float contents_scale, |
+ gfx::Rect rect); |
~Iterator(); |
// Visible rect (no borders), always in the space of rect, |
@@ -70,7 +73,7 @@ class CC_EXPORT PictureLayerTilingSet { |
operator bool() const; |
private: |
- PictureLayerTilingSet* set_; |
+ const PictureLayerTilingSet* set_; |
float contents_scale_; |
PictureLayerTiling::Iterator tiling_iter_; |
int current_tiling_; |