From f539318f0d3dba743ec1886d5d9df0fb1be628a1 Mon Sep 17 00:00:00 2001 From: tfarina Date: Mon, 9 Jun 2014 23:59:03 -0700 Subject: 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 --- gm/gradients_no_texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gm/gradients_no_texture.cpp') diff --git a/gm/gradients_no_texture.cpp b/gm/gradients_no_texture.cpp index fcbba45ae7..041807b42a 100644 --- a/gm/gradients_no_texture.cpp +++ b/gm/gradients_no_texture.cpp @@ -90,7 +90,7 @@ protected: } SkString onShortName() SK_OVERRIDE { return SkString("gradients_no_texture"); } - virtual SkISize onISize() SK_OVERRIDE { return make_isize(640, 615); } + virtual SkISize onISize() SK_OVERRIDE { return SkISize::Make(640, 615); } virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { static const SkPoint kPts[2] = { { 0, 0 }, -- cgit v1.2.3