diff options
author | fmalita@chromium.org <fmalita@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-13 17:32:35 +0000 |
---|---|---|
committer | fmalita@chromium.org <fmalita@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-13 17:32:35 +0000 |
commit | 6163bb68624d9666aad1bf4791b4efcb3f14066f (patch) | |
tree | 3af5e8b07f3043258e5eeb904ff186e4c1102fad /skia/ext/benchmarking_canvas.cc | |
parent | a26f4aec68d4e5637e19e156a4b34518c6a5804c (diff) | |
download | chromium_src-6163bb68624d9666aad1bf4791b4efcb3f14066f.zip chromium_src-6163bb68624d9666aad1bf4791b4efcb3f14066f.tar.gz chromium_src-6163bb68624d9666aad1bf4791b4efcb3f14066f.tar.bz2 |
roll skia DEPS to 13776
This updates SkCanvas-derived classes to the new save/restore notifier API.
Chromium base revision: 256629 / a2b1a3e5
Old Skia revision: 13753
New Skia revision: 13776
Control CL: https://codereview.chromium.org/196943005/
This CL was created by Skia's roll_deps.py script.
Bypassing commit queue trybots:
NOTRY=true
Review URL: https://codereview.chromium.org/195893009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256864 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/benchmarking_canvas.cc')
-rw-r--r-- | skia/ext/benchmarking_canvas.cc | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/skia/ext/benchmarking_canvas.cc b/skia/ext/benchmarking_canvas.cc index a0bb8a0..ec2ff3c 100644 --- a/skia/ext/benchmarking_canvas.cc +++ b/skia/ext/benchmarking_canvas.cc @@ -40,20 +40,21 @@ public: } // SkCanvas overrides. - virtual int save(SaveFlags flags = kMatrixClip_SaveFlag) OVERRIDE { + virtual void willSave(SaveFlags flags) OVERRIDE { AutoStamper stamper(this); - return SkProxyCanvas::save(flags); + SkProxyCanvas::willSave(flags); } - virtual int saveLayer(const SkRect* bounds, const SkPaint* paint, - SaveFlags flags = kARGB_ClipLayer_SaveFlag) OVERRIDE { + virtual SaveLayerStrategy willSaveLayer(const SkRect* bounds, + const SkPaint* paint, + SaveFlags flags) OVERRIDE { AutoStamper stamper(this); - return SkProxyCanvas::saveLayer(bounds, paint, flags); + return SkProxyCanvas::willSaveLayer(bounds, paint, flags); } - virtual void restore() OVERRIDE { + virtual void willRestore() OVERRIDE { AutoStamper stamper(this); - SkProxyCanvas::restore(); + SkProxyCanvas::willRestore(); } virtual void drawPaint(const SkPaint& paint) OVERRIDE { |