aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkDevice.h')
-rw-r--r--src/core/SkDevice.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/SkDevice.h b/src/core/SkDevice.h
index c531b1e18b..3bd12ab36a 100644
--- a/src/core/SkDevice.h
+++ b/src/core/SkDevice.h
@@ -198,7 +198,7 @@ protected:
*/
virtual void drawPath(const SkPath& path,
const SkPaint& paint,
- const SkMatrix* prePathMatrix = NULL,
+ const SkMatrix* prePathMatrix = nullptr,
bool pathIsMutable = false) = 0;
virtual void drawBitmap(const SkBitmap& bitmap,
SkScalar x,
@@ -340,7 +340,7 @@ protected:
* it could not call drawDevice with it (but it could call drawSprite or drawBitmap).
*/
virtual SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) {
- return NULL;
+ return nullptr;
}
// A helper function used by derived classes to log the scale factor of a bitmap or image draw.
@@ -377,7 +377,7 @@ private:
*/
virtual void flush() {}
- virtual SkImageFilterCache* getImageFilterCache() { return NULL; }
+ virtual SkImageFilterCache* getImageFilterCache() { return nullptr; }
friend class SkNoPixelsDevice;
friend class SkBitmapDevice;