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 b357354225cf889d371d1464de735c5f00d26884..eb99df416d59aec94917015de70a2cf78ec70131 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(); } |
SkCanvas* 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, |