Index: src/gpu/batches/GrDrawPathBatch.cpp |
diff --git a/src/gpu/batches/GrDrawPathBatch.cpp b/src/gpu/batches/GrDrawPathBatch.cpp |
index a99f4ebf4386c963a0ba18a48b01ab2c269cc837..b11585861c89ebdecd53db3562b15089cea7859b 100644 |
--- a/src/gpu/batches/GrDrawPathBatch.cpp |
+++ b/src/gpu/batches/GrDrawPathBatch.cpp |
@@ -99,7 +99,7 @@ bool GrDrawPathRangeBatch::onCombineIfPossible(GrBatch* t, const GrCaps& caps) { |
fTotalPathCount += that->fTotalPathCount; |
while (Draw* head = that->fDraws.head()) { |
Draw* draw = fDraws.addToTail(); |
- draw->fInstanceData.reset(head->fInstanceData.detach()); |
+ draw->fInstanceData.reset(head->fInstanceData.release()); |
draw->fX = head->fX; |
draw->fY = head->fY; |
that->fDraws.popHead(); |