Index: gm/xfermodes.cpp |
diff --git a/gm/xfermodes.cpp b/gm/xfermodes.cpp |
index b5ce8b8ced8ad1ce2375d8b8a687c85bd1f17a3f..24c48ee74720b0bf3e486a9b43058fc67e13ef18 100644 |
--- a/gm/xfermodes.cpp |
+++ b/gm/xfermodes.cpp |
@@ -112,7 +112,7 @@ class XfermodesGM : public GM { |
break; |
} |
case kRectangleWithMask_SrcType: { |
- canvas->save(SkCanvas::kClip_SaveFlag); |
+ canvas->save(); |
restoreNeeded = true; |
SkScalar w = SkIntToScalar(W); |
SkScalar h = SkIntToScalar(H); |
@@ -247,7 +247,7 @@ protected: |
p.setShader(s); |
canvas->drawRect(r, p); |
- canvas->saveLayer(&r, NULL, SkCanvas::kARGB_ClipLayer_SaveFlag); |
+ canvas->saveLayer(&r, NULL); |
draw_mode(canvas, mode, static_cast<SrcType>(sourceType), |
r.fLeft, r.fTop); |
canvas->restore(); |