| Index: src/gpu/GrGeometryBuffer.h
|
| diff --git a/src/gpu/GrGeometryBuffer.h b/src/gpu/GrGeometryBuffer.h
|
| index 3d57f1dbec5ea15c550177debbc2a63d61e6b4ef..c3e1c65252c4f7376a7abd016704308173abdf38 100644
|
| --- a/src/gpu/GrGeometryBuffer.h
|
| +++ b/src/gpu/GrGeometryBuffer.h
|
| @@ -58,7 +58,7 @@ public:
|
| * The pointer returned by the previous map call will no longer be valid.
|
| */
|
| void unmap() {
|
| - SkASSERT(NULL != fMapPtr);
|
| + SkASSERT(fMapPtr);
|
| this->onUnmap();
|
| fMapPtr = NULL;
|
| }
|
| @@ -76,7 +76,7 @@ public:
|
|
|
| @return true if the buffer is mapped, false otherwise.
|
| */
|
| - bool isMapped() const { return NULL != fMapPtr; }
|
| + bool isMapped() const { return SkToBool(fMapPtr); }
|
|
|
| /**
|
| * Updates the buffer data.
|
|
|