summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
diff options
context:
space:
mode:
authorTeng-Hui Zhu <ztenghui@google.com>2012-04-16 09:24:18 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-04-16 09:24:18 -0700
commit893264ea664be9af3ac64e24116045b51df6f031 (patch)
treeea9d9f9e775e624c08069187cc68fff1ce8e19a2 /Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
parent0d4121b7ae5f54bb2973bd1c3d20a17c58865a5b (diff)
parent868c42d56aae84ed4cd33f9de0d93132e1483ddc (diff)
downloadexternal_webkit-893264ea664be9af3ac64e24116045b51df6f031.zip
external_webkit-893264ea664be9af3ac64e24116045b51df6f031.tar.gz
external_webkit-893264ea664be9af3ac64e24116045b51df6f031.tar.bz2
Merge "Move the matrix support to rely on the new framework clip info"
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 85bdf29..00cc656 100644
--- a/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
+++ b/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp
@@ -281,7 +281,7 @@ void TileGrid::drawGL(const IntRect& visibleArea, float opacity,
if (m_area.width() == 0 || m_area.height() == 0)
return;
- float invScale = 1 / m_scale;
+ float invScale = 1.0 / m_scale;
const float tileWidth = TilesManager::tileWidth() * invScale;
const float tileHeight = TilesManager::tileHeight() * invScale;