Index: src/gpu/GrOvalRenderer.cpp |
diff --git a/src/gpu/GrOvalRenderer.cpp b/src/gpu/GrOvalRenderer.cpp |
index 330d4e9289f57ab0ee41153bb12ac9e6796cd71a..f694678e9dbb2c1d3601af3f4d576f9ec993a7a1 100644 |
--- a/src/gpu/GrOvalRenderer.cpp |
+++ b/src/gpu/GrOvalRenderer.cpp |
@@ -881,7 +881,7 @@ GrIndexBuffer* GrOvalRenderer::rRectIndexBuffer(GrGpu* gpu) { |
if (NULL == fRRectIndexBuffer) { |
fRRectIndexBuffer = |
gpu->createIndexBuffer(sizeof(gRRectIndices), false); |
- if (NULL != fRRectIndexBuffer) { |
+ if (fRRectIndexBuffer) { |
#ifdef SK_DEBUG |
bool updated = |
#endif |