Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002
Review URL: https://codereview.chromium.org/1316233002
diff --git a/src/gpu/GrVertices.h b/src/gpu/GrVertices.h
index 10b2679..03ede07 100644
--- a/src/gpu/GrVertices.h
+++ b/src/gpu/GrVertices.h
@@ -53,7 +53,7 @@
SkASSERT(startVertex >= 0);
fPrimitiveType = primType;
fVertexBuffer.reset(vertexBuffer);
- fIndexBuffer.reset(NULL);
+ fIndexBuffer.reset(nullptr);
fStartVertex = startVertex;
fStartIndex = 0;
fVertexCount = vertexCount;
@@ -154,7 +154,7 @@
const GrNonInstancedVertices* next() {
if (!fInstancesRemaining) {
- return NULL;
+ return nullptr;
}
fInstanceBatch.fStartVertex += fInstanceBatch.fVertexCount;
int instances = SkTMin(fInstancesRemaining, fVertices->fMaxInstancesPerDraw);