Index: src/effects/SkLayerDrawLooper.cpp |
diff --git a/src/effects/SkLayerDrawLooper.cpp b/src/effects/SkLayerDrawLooper.cpp |
index 5fbb550f7543bfb9f605cbe027886a49d2be57da..fa590d2d3fc7c1f9945abe409227b058ae68e93d 100644 |
--- a/src/effects/SkLayerDrawLooper.cpp |
+++ b/src/effects/SkLayerDrawLooper.cpp |
@@ -37,7 +37,7 @@ SkLayerDrawLooper::~SkLayerDrawLooper() { |
} |
SkLayerDrawLooper::Context* SkLayerDrawLooper::createContext(SkCanvas* canvas, void* storage) const { |
- canvas->save(SkCanvas::kMatrix_SaveFlag); |
+ canvas->save(); |
return SkNEW_PLACEMENT_ARGS(storage, LayerDrawLooperContext, (this)); |
} |
@@ -140,7 +140,7 @@ bool SkLayerDrawLooper::LayerDrawLooperContext::next(SkCanvas* canvas, |
ApplyInfo(paint, fCurrRec->fPaint, fCurrRec->fInfo); |
- canvas->save(SkCanvas::kMatrix_SaveFlag); |
+ canvas->save(); |
if (fCurrRec->fInfo.fPostTranslate) { |
postTranslate(canvas, fCurrRec->fInfo.fOffset.fX, |
fCurrRec->fInfo.fOffset.fY); |