Index: src/gpu/GrRecordReplaceDraw.cpp |
diff --git a/src/gpu/GrRecordReplaceDraw.cpp b/src/gpu/GrRecordReplaceDraw.cpp |
index 8291ccb82866e68aa19f3d8e88afbaee51caa164..ab5192680de4a66bfa8413145bfea6afb93cf095 100644 |
--- a/src/gpu/GrRecordReplaceDraw.cpp |
+++ b/src/gpu/GrRecordReplaceDraw.cpp |
@@ -87,7 +87,7 @@ void GrRecordReplaceDraw(const SkRecord& record, |
if (NULL != callback && callback->abortDrawing()) { |
return; |
} |
- ri = replacements->lookupByStart(i, &searchStart); |
+ ri = replacements->lookupByStart((uintptr_t)ops[i], &searchStart); |
if (NULL != ri) { |
draw_replacement_bitmap(ri, canvas); |