aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/pathopsskpclip.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2014-06-04 05:40:44 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-06-04 05:40:44 -0700
commit9b14f26d0f3a974f3dd626c8354e1db1cfcd322f (patch)
tree542d5f1d7a1266454675745139e956b4424fde4b /gm/pathopsskpclip.cpp
parent232f7259a939c70ce447a729a5094fcc272b679d (diff)
Alter SkCanvas::drawPicture (devirtualize, take const SkPicture, take pointer)
R=reed@google.com, bsalomon@google.com, mtklein@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/313613004
Diffstat (limited to 'gm/pathopsskpclip.cpp')
-rw-r--r--gm/pathopsskpclip.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/pathopsskpclip.cpp b/gm/pathopsskpclip.cpp
index e04692bfac..076f733af3 100644
--- a/gm/pathopsskpclip.cpp
+++ b/gm/pathopsskpclip.cpp
@@ -55,13 +55,13 @@ protected:
canvas->setAllowSimplifyClip(true);
canvas->save();
- canvas->drawPicture(*pict);
+ canvas->drawPicture(pict);
canvas->restore();
canvas->setAllowSimplifyClip(false);
canvas->save();
canvas->translate(SkIntToScalar(1200 / 2), 0);
- canvas->drawPicture(*pict);
+ canvas->drawPicture(pict);
canvas->restore();
}