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/shadertext3.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/shadertext3.cpp')
-rw-r--r-- | gm/shadertext3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/shadertext3.cpp b/gm/shadertext3.cpp index 3c6400d8d6..78efe87524 100644 --- a/gm/shadertext3.cpp +++ b/gm/shadertext3.cpp @@ -60,7 +60,7 @@ protected: return SkString("shadertext3"); } - virtual SkISize onISize() SK_OVERRIDE{ return make_isize(800, 1000); } + virtual SkISize onISize() SK_OVERRIDE{ return SkISize::Make(800, 1000); } virtual void onOnceBeforeDraw() SK_OVERRIDE { makebm(&fBmp, kPointSize / 4, kPointSize / 4); |