summaryrefslogtreecommitdiffstats
path: root/cc/base/tiling_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/base/tiling_data.h')
-rw-r--r--cc/base/tiling_data.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/base/tiling_data.h b/cc/base/tiling_data.h
index 3059c21..8550e5f 100644
--- a/cc/base/tiling_data.h
+++ b/cc/base/tiling_data.h
@@ -52,7 +52,8 @@ class CC_EXPORT TilingData {
int LastBorderTileXIndexFromSrcCoord(int src_position) const;
int LastBorderTileYIndexFromSrcCoord(int src_position) const;
- gfx::Rect ExpandRectToTileBoundsWithBorders(const gfx::Rect rect) const;
+ gfx::Rect ExpandRectToTileBoundsWithBorders(const gfx::Rect& rect) const;
+ gfx::Rect ExpandRectToTileBounds(const gfx::Rect& rect) const;
gfx::Rect TileBounds(int i, int j) const;
gfx::Rect TileBoundsWithBorder(int i, int j) const;