aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/svg/model/SkSVGSVG.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/svg/model/SkSVGSVG.cpp')
-rw-r--r--experimental/svg/model/SkSVGSVG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/experimental/svg/model/SkSVGSVG.cpp b/experimental/svg/model/SkSVGSVG.cpp
index 592992760a..ef919a8ec1 100644
--- a/experimental/svg/model/SkSVGSVG.cpp
+++ b/experimental/svg/model/SkSVGSVG.cpp
@@ -33,7 +33,7 @@ bool SkSVGSVG::onPrepareToRender(SkSVGRenderContext* ctx) const {
}
if (!contentMatrix.isIdentity()) {
- ctx->canvas()->save();
+ ctx->saveOnce();
ctx->canvas()->concat(contentMatrix);
}