Index: src/gpu/GrOvalRenderer.cpp |
diff --git a/src/gpu/GrOvalRenderer.cpp b/src/gpu/GrOvalRenderer.cpp |
index d0be27d9b0828f33e82938f7fe45f23f99f2c477..9388f323c83db244c7bf66e1ffa40b8cf09f9091 100644 |
--- a/src/gpu/GrOvalRenderer.cpp |
+++ b/src/gpu/GrOvalRenderer.cpp |
@@ -1211,8 +1211,8 @@ static const int kNumRRectsInIndexBuffer = 256; |
GR_DECLARE_STATIC_UNIQUE_KEY(gStrokeRRectOnlyIndexBufferKey); |
GR_DECLARE_STATIC_UNIQUE_KEY(gRRectOnlyIndexBufferKey); |
-static const GrIndexBuffer* ref_rrect_index_buffer(bool strokeOnly, |
- GrResourceProvider* resourceProvider) { |
+static const GrBuffer* ref_rrect_index_buffer(bool strokeOnly, |
+ GrResourceProvider* resourceProvider) { |
GR_DEFINE_STATIC_UNIQUE_KEY(gStrokeRRectOnlyIndexBufferKey); |
GR_DEFINE_STATIC_UNIQUE_KEY(gRRectOnlyIndexBufferKey); |
if (strokeOnly) { |
@@ -1286,7 +1286,7 @@ private: |
// drop out the middle quad if we're stroked |
int indicesPerInstance = fStroked ? kIndicesPerStrokeRRect : kIndicesPerRRect; |
- SkAutoTUnref<const GrIndexBuffer> indexBuffer( |
+ SkAutoTUnref<const GrBuffer> indexBuffer( |
ref_rrect_index_buffer(fStroked, target->resourceProvider())); |
InstancedHelper helper; |
@@ -1434,7 +1434,7 @@ private: |
// drop out the middle quad if we're stroked |
int indicesPerInstance = fStroked ? kIndicesPerStrokeRRect : kIndicesPerRRect; |
- SkAutoTUnref<const GrIndexBuffer> indexBuffer( |
+ SkAutoTUnref<const GrBuffer> indexBuffer( |
ref_rrect_index_buffer(fStroked, target->resourceProvider())); |
InstancedHelper helper; |