diff options
author | Chris Craik <ccraik@google.com> | 2012-05-23 17:33:18 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-05-23 17:33:18 -0700 |
commit | 596f7241ffc821ce234bc891c2fb54483c96c16c (patch) | |
tree | 3ce9baefca2d75fcf3ea24f09143dba2f95433b1 /Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp | |
parent | 21ed283c2e1cbf2b5a9d46dd6b8c1e1983860fa2 (diff) | |
parent | bfd7e70d96a769e5d62fb5c9148b5c810a8bef65 (diff) | |
download | external_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.cpp | 2 |
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(); |