Index: src/core/SkMatrixClipStateMgr.cpp |
diff --git a/src/core/SkMatrixClipStateMgr.cpp b/src/core/SkMatrixClipStateMgr.cpp |
index 492e0414d796abbf47ec16f1bf4843492aafdfbd..1fc7fe8321329afbfd6423b5187cb87383076ac5 100644 |
--- a/src/core/SkMatrixClipStateMgr.cpp |
+++ b/src/core/SkMatrixClipStateMgr.cpp |
@@ -172,8 +172,7 @@ int SkMatrixClipStateMgr::saveLayer(const SkRect* bounds, const SkPaint* paint, |
// restore |
fSkipOffsets = SkNEW(SkTDArray<int>); |
- fPicRecord->recordSaveLayer(bounds, paint, |
- (SkCanvas::SaveFlags)(flags| SkCanvas::kMatrixClip_SaveFlag)); |
+ fPicRecord->recordSaveLayer(bounds, paint, flags | SkCanvas::kMatrixClip_SaveFlag); |
#ifdef SK_DEBUG |
fActualDepth++; |
#endif |