Index: include/core/SkDevice.h |
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h |
index c29a65d7761a29cfecc383ef5f4901be77b7c3f1..c542837a7f673999b61e79a4f1afbf1640cfde6f 100644 |
--- a/include/core/SkDevice.h |
+++ b/include/core/SkDevice.h |
@@ -21,6 +21,7 @@ class SkImageFilterCache; |
struct SkIRect; |
class SkMatrix; |
class SkMetaData; |
+class SkRasterCanvasLayerAllocator; |
class SkRegion; |
class SkSpecialImage; |
class GrRenderTarget; |
@@ -315,7 +316,8 @@ 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; |
} |