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

Unified Diff: gm/hairmodes.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/hairlines.cpp ('k') | gm/imagealphathreshold.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/hairmodes.cpp
diff --git a/gm/hairmodes.cpp b/gm/hairmodes.cpp
index f1fa260ef7a7a8ced9b77f3923a98613a338f262..9e9a1de53c7e6f04d8637074a270436e319947c9 100644
--- a/gm/hairmodes.cpp
+++ b/gm/hairmodes.cpp
@@ -82,7 +82,7 @@ namespace skiagm {
return SkString("hairmodes");
}
- virtual SkISize onISize() { return make_isize(640, 480); }
+ virtual SkISize onISize() { return SkISize::Make(640, 480); }
virtual void onOnceBeforeDraw() SK_OVERRIDE {
fBGPaint.setShader(make_bg_shader())->unref();
« no previous file with comments | « gm/hairlines.cpp ('k') | gm/imagealphathreshold.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698