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