use AutoRestore instead of making a copy of the clipstack
authorMike Reed <reed@google.com>
Fri, 10 Mar 2017 16:30:44 +0000 (11:30 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Mon, 13 Mar 2017 15:44:16 +0000 (15:44 +0000)
commitf880b683048b5098e1e62b534902376626ffabac
treec243e634c743bd87ae16355741d721a7a4c4e4d6
parent52fe583a7b21ee1cb04e95b05db9946be899b26d
use AutoRestore instead of making a copy of the clipstack

BUG=skia:

Change-Id: I86683156926f7c63c83790eaf313112ba5fab763
Reviewed-on: https://skia-review.googlesource.com/9532
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Mike Reed <reed@google.com>
src/core/SkClipStack.h
src/core/SkClipStackDevice.h
src/svg/SkSVGDevice.cpp