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

Unified Diff: cc/resources/picture_pile_base.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: perfests 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
Index: cc/resources/picture_pile_base.h
diff --git a/cc/resources/picture_pile_base.h b/cc/resources/picture_pile_base.h
index 0c0e3864e18fc4d862b71d8e7a6baef864b81847..f244f8fcf894face208fa1d8d449313e1e0cc3b5 100644
--- a/cc/resources/picture_pile_base.h
+++ b/cc/resources/picture_pile_base.h
@@ -29,7 +29,7 @@ class CC_EXPORT PicturePileBase : public base::RefCounted<PicturePileBase> {
explicit PicturePileBase(const PicturePileBase* other);
PicturePileBase(const PicturePileBase* other, unsigned thread_index);
- gfx::Rect tiling_rect() const { return tiling_.tiling_rect(); }
+ gfx::Size tiling_size() const { return tiling_.tiling_size(); }
void SetMinContentsScale(float min_contents_scale);
// If non-empty, all pictures tiles inside this rect are recorded. There may

Powered by Google App Engine
This is Rietveld 408576698