summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/BaseTile.cpp
diff options
context:
space:
mode:
authorNicolas Roard <nicolasroard@google.com>2011-04-07 17:21:50 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-04-07 17:21:50 -0700
commitb6ac908669555fedfaf5dc648367d4ad459fc53e (patch)
tree628ed659175822ad263de786c813827a05f13b57 /WebCore/platform/graphics/android/BaseTile.cpp
parent63f5370e1736a4e699dd9ccd643525772d67ffef (diff)
parentbe61abb47b98988ca94bd839a1e17c3267365dc9 (diff)
downloadexternal_webkit-b6ac908669555fedfaf5dc648367d4ad459fc53e.zip
external_webkit-b6ac908669555fedfaf5dc648367d4ad459fc53e.tar.gz
external_webkit-b6ac908669555fedfaf5dc648367d4ad459fc53e.tar.bz2
Merge "Fix for bug:4183801" into honeycomb-mr1
Diffstat (limited to 'WebCore/platform/graphics/android/BaseTile.cpp')
-rw-r--r--WebCore/platform/graphics/android/BaseTile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/android/BaseTile.cpp b/WebCore/platform/graphics/android/BaseTile.cpp
index 690bc6a..5968bd9 100644
--- a/WebCore/platform/graphics/android/BaseTile.cpp
+++ b/WebCore/platform/graphics/android/BaseTile.cpp
@@ -263,6 +263,8 @@ void BaseTile::paintBitmap()
SkRegion dirtyArea = *m_currentDirtyArea;
m_painting = true;
float scale = m_scale;
+ const int x = m_x;
+ const int y = m_y;
m_atomicSync.unlock();
if (!dirty || !texture) {
@@ -270,8 +272,6 @@ void BaseTile::paintBitmap()
return;
}
- const int x = m_x;
- const int y = m_y;
TiledPage* tiledPage = m_page;
texture->producerAcquireContext();