Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1195)

Unified Diff: gm/gradtext.cpp

Issue 326523002: Cleanup: Get rid of make_isize() function from gm.h. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/gradients_no_texture.cpp ('k') | gm/hairlines.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/gradtext.cpp
diff --git a/gm/gradtext.cpp b/gm/gradtext.cpp
index 42513b73dec3ba2997edcd343db406b166240592..5fac185c9d25ddb48fddfde80df2f9e835846a98 100644
--- a/gm/gradtext.cpp
+++ b/gm/gradtext.cpp
@@ -44,7 +44,7 @@ public:
protected:
virtual SkString onShortName() { return SkString("chrome_gradtext1"); }
- virtual SkISize onISize() { return make_isize(500, 480); }
+ virtual SkISize onISize() { return SkISize::Make(500, 480); }
virtual void onDraw(SkCanvas* canvas) {
SkPaint paint;
SkRect r = SkRect::MakeWH(SkIntToScalar(100), SkIntToScalar(100));
@@ -72,7 +72,7 @@ public:
protected:
virtual SkString onShortName() { return SkString("chrome_gradtext2"); }
- virtual SkISize onISize() { return make_isize(500, 480); }
+ virtual SkISize onISize() { return SkISize::Make(500, 480); }
virtual void onDraw(SkCanvas* canvas) {
SkPaint paint;
@@ -109,7 +109,7 @@ protected:
return SkString("gradtext");
}
- virtual SkISize onISize() { return make_isize(500, 480); }
+ virtual SkISize onISize() { return SkISize::Make(500, 480); }
static void draw_text(SkCanvas* canvas, const SkPaint& paint) {
const char* text = "When in the course of human events";
« no previous file with comments | « gm/gradients_no_texture.cpp ('k') | gm/hairlines.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698