Index: src/gpu/GrVertices.h |
diff --git a/src/gpu/GrVertices.h b/src/gpu/GrVertices.h |
index cce5627c29e7fb50e046400e6a8c25734a3500fc..f03482662e40d2613fcf9a1d0ef56834d1cf6e51 100644 |
--- a/src/gpu/GrVertices.h |
+++ b/src/gpu/GrVertices.h |
@@ -29,7 +29,7 @@ public: |
SkASSERT(vertexCount); |
SkASSERT(startVertex >= 0); |
fPrimitiveType = primType; |
- fVertexBuffer.reset(SkRef(vertexBuffer)); |
+ fVertexBuffer.reset(vertexBuffer); |
fIndexBuffer.reset(NULL); |
fStartVertex = startVertex; |
fStartIndex = 0; |
@@ -54,8 +54,8 @@ public: |
SkASSERT(startIndex >= 0); |
SkASSERT(startVertex >= 0); |
fPrimitiveType = primType; |
- fVertexBuffer.reset(SkRef(vertexBuffer)); |
- fIndexBuffer.reset(SkRef(indexBuffer)); |
+ fVertexBuffer.reset(vertexBuffer); |
+ fIndexBuffer.reset(indexBuffer); |
fStartVertex = startVertex; |
fStartIndex = startIndex; |
fVertexCount = vertexCount; |
@@ -79,8 +79,8 @@ public: |
SkASSERT(indicesPerInstance); |
SkASSERT(startVertex >= 0); |
fPrimitiveType = primType; |
- fVertexBuffer.reset(SkRef(vertexBuffer)); |
- fIndexBuffer.reset(SkRef(indexBuffer)); |
+ fVertexBuffer.reset(vertexBuffer); |
+ fIndexBuffer.reset(indexBuffer); |
fStartVertex = startVertex; |
fStartIndex = 0; |
fVerticesPerInstance = verticesPerInstance; |