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

Unified Diff: cc/resources/layer_tiling_data.h

Issue 235753002: cc: Give TilingData a Rect instead of a Size (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
Index: cc/resources/layer_tiling_data.h
diff --git a/cc/resources/layer_tiling_data.h b/cc/resources/layer_tiling_data.h
index 94644d051b15f732e28d520efe4f5785404b6b22..b04a36202cb4dfd70a4673bad26170f56fe06d90 100644
--- a/cc/resources/layer_tiling_data.h
+++ b/cc/resources/layer_tiling_data.h
@@ -82,7 +82,7 @@ class CC_EXPORT LayerTilingData {
const TileMap& tiles() const { return tiles_; }
void SetBounds(const gfx::Size& size);
enne (OOO) 2014/04/11 20:19:51 Do you think this setter/getter should be changed
ernstm 2014/04/11 23:43:51 Yes. Done.
- gfx::Size bounds() const { return tiling_data_.total_size(); }
+ gfx::Size bounds() const { return tiling_data_.tiling_rect().size(); }
void ContentRectToTileIndices(const gfx::Rect& rect,
int* left,

Powered by Google App Engine
This is Rietveld 408576698