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

Unified Diff: gm/complexclip2.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/complexclip.cpp ('k') | gm/convexpaths.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/complexclip2.cpp
diff --git a/gm/complexclip2.cpp b/gm/complexclip2.cpp
index 4c69cadc3c9483fd32464094abd14366fda1e1bf..f99d5b484db27672ec69abb344ea9e223ed85ecb 100644
--- a/gm/complexclip2.cpp
+++ b/gm/complexclip2.cpp
@@ -131,8 +131,8 @@ protected:
}
virtual SkISize onISize() {
- return make_isize(SkScalarRoundToInt(fTotalWidth),
- SkScalarRoundToInt(fTotalHeight));
+ return SkISize::Make(SkScalarRoundToInt(fTotalWidth),
+ SkScalarRoundToInt(fTotalHeight));
}
virtual void onDraw(SkCanvas* canvas) {
« no previous file with comments | « gm/complexclip.cpp ('k') | gm/convexpaths.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698