Index: src/gpu/GrAAHairLinePathRenderer.cpp |
diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp |
index ca83f6acc291d954f8b45f50d945ae261e971bb1..bbaf8db200621870585ae1d6f880c7039c6289f3 100644 |
--- a/src/gpu/GrAAHairLinePathRenderer.cpp |
+++ b/src/gpu/GrAAHairLinePathRenderer.cpp |
@@ -66,7 +66,7 @@ GR_DECLARE_STATIC_UNIQUE_KEY(gQuadsIndexBufferKey); |
static const GrIndexBuffer* ref_quads_index_buffer(GrResourceProvider* resourceProvider) { |
GR_DEFINE_STATIC_UNIQUE_KEY(gQuadsIndexBufferKey); |
- return resourceProvider->refOrCreateInstancedIndexBuffer( |
+ return resourceProvider->findOrCreateInstancedIndexBuffer( |
kQuadIdxBufPattern, kIdxsPerQuad, kQuadsNumInIdxBuffer, kQuadNumVertices, |
gQuadsIndexBufferKey); |
} |
@@ -100,7 +100,7 @@ GR_DECLARE_STATIC_UNIQUE_KEY(gLinesIndexBufferKey); |
static const GrIndexBuffer* ref_lines_index_buffer(GrResourceProvider* resourceProvider) { |
GR_DEFINE_STATIC_UNIQUE_KEY(gLinesIndexBufferKey); |
- return resourceProvider->refOrCreateInstancedIndexBuffer( |
+ return resourceProvider->findOrCreateInstancedIndexBuffer( |
kLineSegIdxBufPattern, kIdxsPerLineSeg, kLineSegsNumInIdxBuffer, kLineSegNumVertices, |
gLinesIndexBufferKey); |
} |