Index: third_party/WebKit/Source/platform/graphics/Canvas2DImageBufferSurface.h |
diff --git a/third_party/WebKit/Source/platform/graphics/Canvas2DImageBufferSurface.h b/third_party/WebKit/Source/platform/graphics/Canvas2DImageBufferSurface.h |
index 7db7d194729b3d622f8d28e78c45dc72ecd18d7e..5ab0681531b1669f85bd94ab498fe1d0c0fd66d9 100644 |
--- a/third_party/WebKit/Source/platform/graphics/Canvas2DImageBufferSurface.h |
+++ b/third_party/WebKit/Source/platform/graphics/Canvas2DImageBufferSurface.h |
@@ -74,8 +74,9 @@ class Canvas2DImageBufferSurface final : public ImageBufferSurface { |
~Canvas2DImageBufferSurface() override { m_layerBridge->beginDestruction(); } |
// ImageBufferSurface implementation |
- void finalizeFrame(const FloatRect& dirtyRect) override { |
- m_layerBridge->finalizeFrame(dirtyRect); |
+ void finalizeFrame() override { m_layerBridge->finalizeFrame(); } |
+ void doPaintInvalidation(const FloatRect& dirtyRect) override { |
+ m_layerBridge->doPaintInvalidation(dirtyRect); |
} |
void willOverwriteCanvas() override { m_layerBridge->willOverwriteCanvas(); } |
PaintCanvas* canvas() override { return m_layerBridge->canvas(); } |
@@ -96,9 +97,6 @@ class Canvas2DImageBufferSurface final : public ImageBufferSurface { |
void didDraw(const FloatRect& rect) override { m_layerBridge->didDraw(rect); } |
void flush(FlushReason) override { m_layerBridge->flush(); } |
void flushGpu(FlushReason) override { m_layerBridge->flushGpu(); } |
- void prepareSurfaceForPaintingIfNeeded() override { |
- m_layerBridge->prepareSurfaceForPaintingIfNeeded(); |
- } |
bool writePixels(const SkImageInfo& origInfo, |
const void* pixels, |
size_t rowBytes, |