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

Unified Diff: cc/picture_layer_tiling_set.h

Issue 11639050: cc: Support mask layers in impl-side painting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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
« no previous file with comments | « cc/picture_layer_tiling.cc ('k') | cc/picture_layer_tiling_set.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « cc/picture_layer_tiling.cc ('k') | cc/picture_layer_tiling_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698