Index: src/gpu/GrInOrderDrawBuffer.cpp |
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp |
index 44d0b1aabc6edbe1d2657a17f0e348390e422c32..4931f47db7bbfe4636b21427905492cadc16eaa1 100644 |
--- a/src/gpu/GrInOrderDrawBuffer.cpp |
+++ b/src/gpu/GrInOrderDrawBuffer.cpp |
@@ -569,8 +569,8 @@ void GrInOrderDrawBuffer::flush() { |
GrAutoTRestore<bool> flushRestore(&fFlushing); |
fFlushing = true; |
- fVertexPool.unlock(); |
- fIndexPool.unlock(); |
+ fVertexPool.unmap(); |
+ fIndexPool.unmap(); |
GrDrawTarget::AutoClipRestore acr(fDstGpu); |
AutoGeometryAndStatePush agasp(fDstGpu, kPreserve_ASRInit); |