Index: src/gpu/GrRecordReplaceDraw.cpp |
diff --git a/src/gpu/GrRecordReplaceDraw.cpp b/src/gpu/GrRecordReplaceDraw.cpp |
index 11eb38d8dc0a56a20939f97ee0e4f7dfd14d7c2a..d1a8d93558ed9a4c701fe358f2c5216400841f3d 100644 |
--- a/src/gpu/GrRecordReplaceDraw.cpp |
+++ b/src/gpu/GrRecordReplaceDraw.cpp |
@@ -63,7 +63,7 @@ public: |
const SkBigPicture* picture, |
const SkMatrix& initialMatrix, |
SkPicture::AbortCallback* callback, |
- const unsigned* opIndices, int numIndices) |
+ const int* opIndices, int numIndices) |
: INHERITED(canvas, drawablePicts, NULL, drawableCount) |
, fCanvas(canvas) |
, fLayerCache(layerCache) |
@@ -154,7 +154,7 @@ public: |
// For a saveLayer command, check if it can be replaced by a drawBitmap |
// call and, if so, draw it and then update the current op index accordingly. |
- unsigned startOffset; |
+ int startOffset; |
if (fOps.count()) { |
startOffset = fOps[fIndex]; |
} else { |
@@ -199,12 +199,12 @@ private: |
const SkMatrix fInitialMatrix; |
SkPicture::AbortCallback* fCallback; |
- SkTDArray<unsigned> fOps; |
+ SkTDArray<int> fOps; |
int fIndex; |
int fNumReplaced; |
// The op code indices of all the enclosing drawPicture and saveLayer calls |
- SkTDArray<unsigned> fOpIndexStack; |
+ SkTDArray<int> fOpIndexStack; |
typedef Draw INHERITED; |
}; |