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

Unified Diff: cc/resources/layer_tiling_data.h

Issue 389973004: cc: Give TilingData back a Size instead of a Rect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tilingsize: comments 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 | « cc/layers/tiled_layer_impl_unittest.cc ('k') | cc/resources/layer_tiling_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/layer_tiling_data.h
diff --git a/cc/resources/layer_tiling_data.h b/cc/resources/layer_tiling_data.h
index b145e38ffab97259ff8580fa2890754280cae1fa..32fec4e0479ae547071df8a1d63cff7841a9ae04 100644
--- a/cc/resources/layer_tiling_data.h
+++ b/cc/resources/layer_tiling_data.h
@@ -81,8 +81,8 @@ class CC_EXPORT LayerTilingData {
Tile* TileAt(int i, int j) const;
const TileMap& tiles() const { return tiles_; }
- void SetTilingRect(const gfx::Rect& tiling_rect);
- gfx::Rect tiling_rect() const { return tiling_data_.tiling_rect(); }
+ void SetTilingSize(const gfx::Size& tiling_size);
+ gfx::Size tiling_size() const { return tiling_data_.tiling_size(); }
void ContentRectToTileIndices(const gfx::Rect& rect,
int* left,
« no previous file with comments | « cc/layers/tiled_layer_impl_unittest.cc ('k') | cc/resources/layer_tiling_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698