Index: Source/platform/graphics/GraphicsContext.h |
diff --git a/Source/platform/graphics/GraphicsContext.h b/Source/platform/graphics/GraphicsContext.h |
index cb177424822b381be000759b21c50d03185eed2d..39b71b135504f703951f3164ade0fed0b08a5852 100644 |
--- a/Source/platform/graphics/GraphicsContext.h |
+++ b/Source/platform/graphics/GraphicsContext.h |
@@ -204,7 +204,7 @@ public: |
// ---------- End state management methods ----------------- |
// Get the contents of the image buffer |
- bool readPixels(SkBitmap*, int, int, SkCanvas::Config8888 = SkCanvas::kNative_Premul_Config8888); |
+ bool readPixels(const SkImageInfo&, void* pixels, size_t rowBytes, int x, int y); |
// Sets up the paint for the current fill style. |
void setupPaintForFilling(SkPaint*) const; |