diff options
author | tfarina <tfarina@chromium.org> | 2014-06-09 23:59:03 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-06-09 23:59:03 -0700 |
commit | f539318f0d3dba743ec1886d5d9df0fb1be628a1 (patch) | |
tree | 236202e9adfceaf521d1b98bde76c706f8f83960 /gm/quadpaths.cpp | |
parent | 876633087ee3aa591e3d4c7039dfeb3e76bb6cb7 (diff) |
Cleanup: Get rid of make_isize() function from gm.h.
This helper function is not necessary.
The same thing can be achieved by using SkISize::Make() provided by
SkTSize API.
BUG=skia:2645
TEST=make dm && out/Debug/dm
R=robertphillips@google.com, reed@google.com
Author: tfarina@chromium.org
Review URL: https://codereview.chromium.org/326523002
Diffstat (limited to 'gm/quadpaths.cpp')
-rw-r--r-- | gm/quadpaths.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/quadpaths.cpp b/gm/quadpaths.cpp index decf50a96e..f21fdd98e1 100644 --- a/gm/quadpaths.cpp +++ b/gm/quadpaths.cpp @@ -24,7 +24,7 @@ protected: return SkString("quadpath"); } - SkISize onISize() { return make_isize(1240, 390); } + SkISize onISize() { return SkISize::Make(1240, 390); } void drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, @@ -170,7 +170,7 @@ protected: return SkString("quadclosepath"); } - SkISize onISize() { return make_isize(1240, 390); } + SkISize onISize() { return SkISize::Make(1240, 390); } void drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, |