diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/android/rendering/Surface.cpp')
-rw-r--r-- | Source/WebCore/platform/graphics/android/rendering/Surface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/android/rendering/Surface.cpp b/Source/WebCore/platform/graphics/android/rendering/Surface.cpp index 94b7b6e..106b045 100644 --- a/Source/WebCore/platform/graphics/android/rendering/Surface.cpp +++ b/Source/WebCore/platform/graphics/android/rendering/Surface.cpp @@ -264,12 +264,12 @@ bool Surface::drawGL(bool layerTilesDisabled) return askRedraw; } -void Surface::swapTiles() +void Surface::swapTiles(bool calculateFrameworkInvals) { if (!m_surfaceBacking) return; - if (m_surfaceBacking->swapTiles()) + if (m_surfaceBacking->swapTiles() && calculateFrameworkInvals) addFrameworkInvals(); } |