aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/core/SkDevice.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index c7c5c30b3a..d9656802ef 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -354,6 +354,11 @@ protected:
return NULL;
}
+ // Will replace onCreateCompatibleDevice
+ virtual SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) {
+ return NULL;
+ }
+
virtual void initForRootLayer(SkPixelGeometry geo);
private: