Index: include/core/SkDevice.h |
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h |
index cd13d5482e97d1e32f848d9993771601c7b8d674..b7e9ff4fe329122d4dbfb4d773ae7d3e11224491 100644 |
--- a/include/core/SkDevice.h |
+++ b/include/core/SkDevice.h |
@@ -21,6 +21,7 @@ class SkDrawFilter; |
struct SkIRect; |
class SkMatrix; |
class SkMetaData; |
+class SkRasterCanvasLayerAllocator; |
class SkRegion; |
class GrRenderTarget; |
@@ -374,7 +375,9 @@ protected: |
* and the caller may then decide to explicitly create a bitmapdevice, knowing that later |
* it could not call drawDevice with it (but it could call drawSprite or drawBitmap). |
*/ |
- virtual SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) { |
+ virtual SkBaseDevice* onCreateDevice(const CreateInfo&, |
+ const SkPaint*, |
+ SkRasterCanvasLayerAllocator*) { |
return NULL; |
} |