| Index: third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp b/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp
|
| index fd5a436f177c544cc95700fcde04fc30b298ce5d..346b24ef1fa5d6f7ada8456ab03ac6d04bbcf45f 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp
|
| @@ -89,4 +89,13 @@ GLuint AcceleratedImageBufferSurface::GetBackingTextureHandleForOverwrite() {
|
| ->fID;
|
| }
|
|
|
| +bool AcceleratedImageBufferSurface::WritePixels(const SkImageInfo& orig_info,
|
| + const void* pixels,
|
| + size_t row_bytes,
|
| + int x,
|
| + int y) {
|
| + DCHECK(surface_);
|
| + return surface_->getCanvas()->writePixels(orig_info, pixels, row_bytes, x, y);
|
| +}
|
| +
|
| } // namespace blink
|
|
|