Index: src/core/SkRecordDraw.cpp |
diff --git a/src/core/SkRecordDraw.cpp b/src/core/SkRecordDraw.cpp |
index f512ecf0154c01eaffec3d6219ecfd91ff3fe126..01846676b6470a3aee6a29776adf4c447bd449d8 100644 |
--- a/src/core/SkRecordDraw.cpp |
+++ b/src/core/SkRecordDraw.cpp |
@@ -78,7 +78,7 @@ template <> void Draw::draw(const NoOp&) {} |
#define DRAW(T, call) template <> void Draw::draw(const T& r) { fCanvas->call; } |
DRAW(Restore, restore()); |
DRAW(Save, save()); |
-DRAW(SaveLayer, saveLayer(r.bounds, r.paint, r.flags)); |
+DRAW(SaveLayer, saveLayer(SkCanvas::SaveLayerRec(r.bounds, r.paint, r.saveLayerFlags))); |
DRAW(SetMatrix, setMatrix(SkMatrix::Concat(fInitialCTM, r.matrix))); |
DRAW(Concat, concat(r.matrix)); |