Index: src/gpu/batches/GrTessellatingPathRenderer.cpp |
diff --git a/src/gpu/batches/GrTessellatingPathRenderer.cpp b/src/gpu/batches/GrTessellatingPathRenderer.cpp |
index 39aa50c59753271701fee799c9ad86fe42a460f0..1c1713486736883caa9aa46df77210b4c1e9dd54 100644 |
--- a/src/gpu/batches/GrTessellatingPathRenderer.cpp |
+++ b/src/gpu/batches/GrTessellatingPathRenderer.cpp |
@@ -69,7 +69,7 @@ |
SkPoint* lock(int vertexCount) override { |
size_t size = vertexCount * sizeof(SkPoint); |
fVertexBuffer.reset(fResourceProvider->createBuffer( |
- size, kVertex_GrBufferType, kStatic_GrAccessPattern, 0)); |
+ kVertex_GrBufferType, size, kStatic_GrAccessPattern, 0)); |
if (!fVertexBuffer.get()) { |
return nullptr; |
} |