| Index: Source/platform/graphics/GraphicsContext.cpp
|
| diff --git a/Source/platform/graphics/GraphicsContext.cpp b/Source/platform/graphics/GraphicsContext.cpp
|
| index 9f62b29a780eb6f06ee663c9839aeaec46aa7def..cd0e2d39ecf9722abe2277655fe9fdca51ac7ea2 100644
|
| --- a/Source/platform/graphics/GraphicsContext.cpp
|
| +++ b/Source/platform/graphics/GraphicsContext.cpp
|
| @@ -410,12 +410,12 @@ void GraphicsContext::setColorFilter(ColorFilter colorFilter)
|
| stateToSet->setColorFilter(WebCoreColorFilterToSkiaColorFilter(colorFilter));
|
| }
|
|
|
| -bool GraphicsContext::readPixels(SkBitmap* bitmap, int x, int y, SkCanvas::Config8888 config8888)
|
| +bool GraphicsContext::readPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, int x, int y)
|
| {
|
| if (paintingDisabled())
|
| return false;
|
|
|
| - return m_canvas->readPixels(bitmap, x, y, config8888);
|
| + return m_canvas->readPixels(info, pixels, rowBytes, x, y);
|
| }
|
|
|
| void GraphicsContext::setMatrix(const SkMatrix& matrix)
|
|
|