summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2012-05-23 17:33:18 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-05-23 17:33:18 -0700
commit596f7241ffc821ce234bc891c2fb54483c96c16c (patch)
tree3ce9baefca2d75fcf3ea24f09143dba2f95433b1 /Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
parent21ed283c2e1cbf2b5a9d46dd6b8c1e1983860fa2 (diff)
parentbfd7e70d96a769e5d62fb5c9148b5c810a8bef65 (diff)
downloadexternal_webkit-596f7241ffc821ce234bc891c2fb54483c96c16c.zip
external_webkit-596f7241ffc821ce234bc891c2fb54483c96c16c.tar.gz
external_webkit-596f7241ffc821ce234bc891c2fb54483c96c16c.tar.bz2
Merge "Use Surface areas to compute tile usage" into jb-dev
Diffstat (limited to 'Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp')
-rw-r--r--Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp b/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
index 9cd904e..f8510bb 100644
--- a/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
+++ b/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
@@ -275,7 +275,7 @@ Tile* TileGrid::getTile(int x, int y)
return 0;
}
-int TileGrid::nbTextures(IntRect& area, float scale)
+int TileGrid::nbTextures(const IntRect& area, float scale)
{
IntRect tileBounds = computeTilesArea(area, scale);
int numberTextures = tileBounds.width() * tileBounds.height();