| Index: include/utils/win/SkTScopedComPtr.h
|
| diff --git a/include/utils/win/SkTScopedComPtr.h b/include/utils/win/SkTScopedComPtr.h
|
| index 8f18a42481be7eecc25a0e295ca10f6345bb7a34..38d104878b48d89dff2236699113410efdacc404 100644
|
| --- a/include/utils/win/SkTScopedComPtr.h
|
| +++ b/include/utils/win/SkTScopedComPtr.h
|
| @@ -54,7 +54,7 @@ public:
|
| T **operator&() { SkASSERT(fPtr == NULL); return &fPtr; }
|
| T *get() const { return fPtr; }
|
| void reset() {
|
| - if (NULL != this->fPtr) {
|
| + if (this->fPtr) {
|
| this->fPtr->Release();
|
| this->fPtr = NULL;
|
| }
|
|
|