diff --git a/gfx/2d/DrawTargetSkia.cpp b/gfx/2d/DrawTargetSkia.cpp index aaf4c751330..ef9b9e2873b 100644 --- a/gfx/2d/DrawTargetSkia.cpp +++ b/gfx/2d/DrawTargetSkia.cpp @@ -384,7 +384,7 @@ DrawTargetSkia::DrawSurfaceWithShadow(SourceSurface *aSurface, MarkChanged(); - mCanvas->save(SkCanvas::kMatrix_SaveFlag); + mCanvas->save(); mCanvas->resetMatrix(); TempBitmap bitmap = GetBitmapForSurface(aSurface); @@ -880,7 +880,7 @@ DrawTargetSkia::PushClip(const Path *aPath) } const PathSkia *skiaPath = static_cast(aPath); - mCanvas->save(SkCanvas::kClip_SaveFlag); + mCanvas->save(); mCanvas->clipPath(skiaPath->GetPath(), SkRegion::kIntersect_Op, true); } @@ -889,7 +889,7 @@ DrawTargetSkia::PushClipRect(const Rect& aRect) { SkRect rect = RectToSkRect(aRect); - mCanvas->save(SkCanvas::kClip_SaveFlag); + mCanvas->save(); mCanvas->clipRect(rect, SkRegion::kIntersect_Op, true); }