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

Unified Diff: cc/resources/tile.h

Issue 470753002: cc: Change Tile::tile_size_ from a Rect to a Size. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/resources/tile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile.h
diff --git a/cc/resources/tile.h b/cc/resources/tile.h
index 01a733cc6c9b9263046c8e2caeabd1c44bb0168a..6588ac56e6b276c0eff04cfc74cf4653ad8518f7 100644
--- a/cc/resources/tile.h
+++ b/cc/resources/tile.h
@@ -138,7 +138,7 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> {
size_t GPUMemoryUsageInBytes() const;
- gfx::Size size() const { return tile_size_.size(); }
+ gfx::Size size() const { return size_; }
RasterMode DetermineRasterModeForTree(WhichTree tree) const;
RasterMode DetermineOverallRasterMode() const;
@@ -178,7 +178,7 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> {
TileManager* tile_manager_;
scoped_refptr<PicturePileImpl> picture_pile_;
- gfx::Rect tile_size_;
+ gfx::Size size_;
gfx::Rect content_rect_;
float contents_scale_;
gfx::Rect opaque_rect_;
« no previous file with comments | « no previous file | cc/resources/tile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698