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
diff --git a/gm/pathopsskpclip.cpp b/gm/pathopsskpclip.cpp
index e04692b..076f733 100644
--- a/gm/pathopsskpclip.cpp
+++ b/gm/pathopsskpclip.cpp
@@ -55,13 +55,13 @@
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();
}