diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkCanvas.h | 4 | ||||
-rw-r--r-- | include/core/SkDevice.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index 6d995b8b55..b9753c8226 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -54,8 +54,8 @@ class SkCanvas : public SkRefCnt { public: /** Construct a canvas with the given device factory. @param factory Specify the factory for generating additional devices. - The factory may be null, in which case SkDeviceFactory - will be used. + The factory may be null, in which case + SkRasterDeviceFactory will be used. */ explicit SkCanvas(SkDeviceFactory* factory = NULL); diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h index b7a9cbcb3a..c223a157a6 100644 --- a/include/core/SkDevice.h +++ b/include/core/SkDevice.h @@ -34,7 +34,7 @@ class SkRegion; to pass into SkCanvas. Doing so will eliminate the need to extend SkCanvas as well. */ -class SkDeviceFactory : public SkRefCnt { +class SkDeviceFactory { public: virtual SkDevice* newDevice(SkBitmap::Config config, int width, int height, bool isOpaque, bool isForLayer) = 0; |