Skip to content

Commit

Permalink
use new onDrawPicture variant, as the previous is now deprecated and …
Browse files Browse the repository at this point in the history
…is no longer called by the base-class.

TBR=fmalita@chromium.org

Review URL: https://codereview.chromium.org/458803002

Cr-Commit-Position: refs/heads/master@{#288622}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288622 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
reed@chromium.org committed Aug 10, 2014
1 parent 099dc42 commit 9f10343
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions skia/ext/benchmarking_canvas.cc
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,10 @@ class TimingCanvas : public SkProxyCanvas {
SkProxyCanvas::onClipRegion(region, op);
}

virtual void onDrawPicture(const SkPicture* picture) OVERRIDE {
virtual void onDrawPicture(const SkPicture* picture, const SkMatrix* matrix,
const SkPaint* paint) OVERRIDE {
AutoStamper stamper(this);
SkProxyCanvas::onDrawPicture(picture);
SkProxyCanvas::onDrawPicture(picture, matrix, paint);
}

private:
Expand Down

0 comments on commit 9f10343

Please sign in to comment.