Index: Source/platform/graphics/GraphicsContext.h |
diff --git a/Source/platform/graphics/GraphicsContext.h b/Source/platform/graphics/GraphicsContext.h |
index bafb0e410f7683d4c93942d01ad38a922bf1d5b6..049aafa1e818d7436f0000cad719d34e689962f5 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; |