aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/dashing.cpp
diff options
context:
space:
mode:
authorGravatar tfarina <tfarina@chromium.org>2014-06-09 23:59:03 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-06-09 23:59:03 -0700
commitf539318f0d3dba743ec1886d5d9df0fb1be628a1 (patch)
tree236202e9adfceaf521d1b98bde76c706f8f83960 /gm/dashing.cpp
parent876633087ee3aa591e3d4c7039dfeb3e76bb6cb7 (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/dashing.cpp')
-rw-r--r--gm/dashing.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gm/dashing.cpp b/gm/dashing.cpp
index 9868d315db..5a812b0e47 100644
--- a/gm/dashing.cpp
+++ b/gm/dashing.cpp
@@ -46,7 +46,7 @@ protected:
return SkString("dashing");
}
- SkISize onISize() { return skiagm::make_isize(640, 300); }
+ SkISize onISize() { return SkISize::Make(640, 300); }
virtual void onDraw(SkCanvas* canvas) {
static const struct {
@@ -132,7 +132,7 @@ protected:
return SkString("dashing2");
}
- SkISize onISize() { return skiagm::make_isize(640, 480); }
+ SkISize onISize() { return SkISize::Make(640, 480); }
virtual void onDraw(SkCanvas* canvas) {
static const int gIntervals[] = {
@@ -194,7 +194,7 @@ protected:
return SkString("dashing3");
}
- SkISize onISize() { return skiagm::make_isize(640, 480); }
+ SkISize onISize() { return SkISize::Make(640, 480); }
// Draw a 100x100 block of dashed lines. The horizontal ones are BW
// while the vertical ones are AA.
@@ -328,7 +328,7 @@ protected:
return SkString("dashing4");
}
- SkISize onISize() { return skiagm::make_isize(640, 950); }
+ SkISize onISize() { return SkISize::Make(640, 950); }
virtual void onDraw(SkCanvas* canvas) {
static const struct {