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

Unified Diff: cc/layers/picture_layer_impl.h

Issue 413603002: cc: Add const versions of operator* to layer iterators. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months 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 | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_impl.h
diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h
index 3b07c5dfd367897ce1e7b7524846c66c1908072a..d40285a12765905e79f05952980a9bc3fb162f20 100644
--- a/cc/layers/picture_layer_impl.h
+++ b/cc/layers/picture_layer_impl.h
@@ -34,6 +34,7 @@ class CC_EXPORT PictureLayerImpl
~LayerRasterTileIterator();
Tile* operator*();
+ const Tile* operator*() const;
LayerRasterTileIterator& operator++();
operator bool() const;
@@ -62,6 +63,7 @@ class CC_EXPORT PictureLayerImpl
~LayerEvictionTileIterator();
Tile* operator*();
+ const Tile* operator*() const;
LayerEvictionTileIterator& operator++();
operator bool() const;
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698