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

Unified Diff: gm/dashing.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/copyTo4444.cpp ('k') | gm/degeneratesegments.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/dashing.cpp
diff --git a/gm/dashing.cpp b/gm/dashing.cpp
index 9868d315db80624f134dbeac3869f012e1727384..5a812b0e47b93b5c1590c6998b94e71130a88242 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 {
« no previous file with comments | « gm/copyTo4444.cpp ('k') | gm/degeneratesegments.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698