Index: include/core/SkBitmapDevice.h |
diff --git a/include/core/SkBitmapDevice.h b/include/core/SkBitmapDevice.h |
index 8ca6a523be9d3b2412635616ff02f82fff6a11fa..caff6857da08341185884f89de13efa0e462d324 100644 |
--- a/include/core/SkBitmapDevice.h |
+++ b/include/core/SkBitmapDevice.h |
@@ -98,11 +98,7 @@ protected: |
const SkColor colors[], SkXfermode* xmode, |
const uint16_t indices[], int indexCount, |
const SkPaint& paint) SK_OVERRIDE; |
- /** The SkBaseDevice passed will be an SkBaseDevice which was returned by a call to |
- onCreateCompatibleDevice on this device with kSaveLayer_Usage. |
- */ |
- virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, |
- const SkPaint&) SK_OVERRIDE; |
+ virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, const SkPaint&) SK_OVERRIDE; |
/////////////////////////////////////////////////////////////////////////// |
@@ -145,7 +141,7 @@ private: |
// any clip information. |
void replaceBitmapBackendForRasterSurface(const SkBitmap&) SK_OVERRIDE; |
- SkBaseDevice* onCreateCompatibleDevice(const CreateInfo&) SK_OVERRIDE; |
+ SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) SK_OVERRIDE; |
SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&) SK_OVERRIDE; |
const void* peekPixels(SkImageInfo*, size_t* rowBytes) SK_OVERRIDE; |