Index: src/utils/win/SkDWriteGeometrySink.cpp |
diff --git a/src/utils/win/SkDWriteGeometrySink.cpp b/src/utils/win/SkDWriteGeometrySink.cpp |
index b7ef88ba3b654923881d3ca8b1939be0487928c0..066d4a4674c98f40d4058b93adaa2507bd1ed9c0 100644 |
--- a/src/utils/win/SkDWriteGeometrySink.cpp |
+++ b/src/utils/win/SkDWriteGeometrySink.cpp |
@@ -19,7 +19,7 @@ SkDWriteGeometrySink::SkDWriteGeometrySink(SkPath* path) : fRefCount(1), fPath(p |
SkDWriteGeometrySink::~SkDWriteGeometrySink() { } |
HRESULT STDMETHODCALLTYPE SkDWriteGeometrySink::QueryInterface(REFIID iid, void **object) { |
- if (NULL == object) { |
+ if (nullptr == object) { |
return E_INVALIDARG; |
} |
if (iid == __uuidof(IUnknown) || iid == __uuidof(IDWriteGeometrySink)) { |
@@ -27,7 +27,7 @@ HRESULT STDMETHODCALLTYPE SkDWriteGeometrySink::QueryInterface(REFIID iid, void |
this->AddRef(); |
return S_OK; |
} else { |
- *object = NULL; |
+ *object = nullptr; |
return E_NOINTERFACE; |
} |
} |