Index: src/gpu/GrOvalRenderer.cpp |
diff --git a/src/gpu/GrOvalRenderer.cpp b/src/gpu/GrOvalRenderer.cpp |
index d337bbb3657546eedd72e5aecc0342d3bb732621..c71040804092d378292aabbd6fbe9331ceeeaeb6 100644 |
--- a/src/gpu/GrOvalRenderer.cpp |
+++ b/src/gpu/GrOvalRenderer.cpp |
@@ -1383,11 +1383,11 @@ static const GrIndexBuffer* ref_rrect_index_buffer(bool strokeOnly, |
GR_DEFINE_STATIC_UNIQUE_KEY(gStrokeRRectOnlyIndexBufferKey); |
GR_DEFINE_STATIC_UNIQUE_KEY(gRRectOnlyIndexBufferKey); |
if (strokeOnly) { |
- return resourceProvider->refOrCreateInstancedIndexBuffer( |
+ return resourceProvider->findOrCreateInstancedIndexBuffer( |
gRRectIndices, kIndicesPerStrokeRRect, kNumRRectsInIndexBuffer, kVertsPerRRect, |
gStrokeRRectOnlyIndexBufferKey); |
} else { |
- return resourceProvider->refOrCreateInstancedIndexBuffer( |
+ return resourceProvider->findOrCreateInstancedIndexBuffer( |
gRRectIndices, kIndicesPerRRect, kNumRRectsInIndexBuffer, kVertsPerRRect, |
gRRectOnlyIndexBufferKey); |