diff options
author | Teng-Hui Zhu <ztenghui@google.com> | 2011-11-02 14:35:24 -0700 |
---|---|---|
committer | Teng-Hui Zhu <ztenghui@google.com> | 2011-11-02 14:38:44 -0700 |
commit | 092270aeda4095dfd07d579f1d2e99bcdf386c04 (patch) | |
tree | bca36a6d935e6a592ff1fe8b10fcb0a7e14970c7 /Source/WebCore/platform/graphics/android/BaseLayerAndroid.cpp | |
parent | 3450eb63fce89339f9625eb1b9ccf62b6b6bf29f (diff) | |
download | external_webkit-092270aeda4095dfd07d579f1d2e99bcdf386c04.zip external_webkit-092270aeda4095dfd07d579f1d2e99bcdf386c04.tar.gz external_webkit-092270aeda4095dfd07d579f1d2e99bcdf386c04.tar.bz2 |
compiler error fix when DEBUG is on
Change-Id: I6fbaa9dfe50752fa5ec95cd43ed50306b63270f3
Diffstat (limited to 'Source/WebCore/platform/graphics/android/BaseLayerAndroid.cpp')
-rw-r--r-- | Source/WebCore/platform/graphics/android/BaseLayerAndroid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/android/BaseLayerAndroid.cpp b/Source/WebCore/platform/graphics/android/BaseLayerAndroid.cpp index 2a1b1de..a7fe030 100644 --- a/Source/WebCore/platform/graphics/android/BaseLayerAndroid.cpp +++ b/Source/WebCore/platform/graphics/android/BaseLayerAndroid.cpp @@ -131,7 +131,7 @@ void BaseLayerAndroid::prefetchBasePicture(SkRect& viewport, float currentScale, viewport.fTop, viewport.fRight, viewport.fBottom, - scale); + currentScale); bounds.fLeft = static_cast<int>(floorf(viewport.fLeft * invTileWidth)) - PREFETCH_X_DIST; bounds.fTop = static_cast<int>(floorf(viewport.fTop * invTileHeight)) - PREFETCH_Y_DIST; @@ -141,7 +141,7 @@ void BaseLayerAndroid::prefetchBasePicture(SkRect& viewport, float currentScale, XLOG("prefetch rect %d %d %d %d, scale %f, preparing page %p", bounds.fLeft, bounds.fTop, bounds.fRight, bounds.fBottom, - scale * PREFETCH_SCALE, + prefetchScale, prefetchTiledPage); prefetchTiledPage->setScale(prefetchScale); |