diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/android/TiledTexture.cpp')
-rw-r--r-- | Source/WebCore/platform/graphics/android/TiledTexture.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/android/TiledTexture.cpp b/Source/WebCore/platform/graphics/android/TiledTexture.cpp index a49c6c6..d975825 100644 --- a/Source/WebCore/platform/graphics/android/TiledTexture.cpp +++ b/Source/WebCore/platform/graphics/android/TiledTexture.cpp @@ -139,7 +139,7 @@ void TiledTexture::prepareTile(bool repaint, int x, int y) LayerAndroid* layer = m_surface->layer(); if (schedule && layer && !tile->isRepaintPending()) { - PaintTileOperation *operation = new PaintTileOperation(tile, layer); + PaintTileOperation *operation = new PaintTileOperation(tile, m_surface); TilesManager::instance()->scheduleOperation(operation); } } @@ -228,7 +228,6 @@ void TiledTexture::endPaint() void TiledTexture::removeTiles() { - TilesManager::instance()->removeOperationsForPainter(this, true); for (unsigned int i = 0; i < m_tiles.size(); i++) { delete m_tiles[i]; } |