diff options
Diffstat (limited to 'WebCore/platform/graphics/android/BaseTile.cpp')
-rw-r--r-- | WebCore/platform/graphics/android/BaseTile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/android/BaseTile.cpp b/WebCore/platform/graphics/android/BaseTile.cpp index 5968bd9..d58c549 100644 --- a/WebCore/platform/graphics/android/BaseTile.cpp +++ b/WebCore/platform/graphics/android/BaseTile.cpp @@ -172,9 +172,9 @@ void BaseTile::setUsedLevel(int usedLevel) m_texture->setUsedLevel(usedLevel); } -void BaseTile::draw(float transparency, SkRect& rect) +void BaseTile::draw(float transparency, SkRect& rect, float scale) { - if (m_x < 0 || m_y < 0) + if (m_x < 0 || m_y < 0 || m_scale != scale) return; // No need to mutex protect reads of m_texture as it is only written to by |