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

Side by Side Diff: gm/roundrects.cpp

Issue 281383013: skiagm::make_isize -> SkISize::Make (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 7 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 unified diff | Download patch
« no previous file with comments | « gm/resizeimagefilter.cpp ('k') | gm/rrects.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2013 Google Inc. 3 * Copyright 2013 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #include "gm.h" 9 #include "gm.h"
10 #include "SkTArray.h" 10 #include "SkTArray.h"
(...skipping 18 matching lines...) Expand all
29 protected: 29 protected:
30 virtual uint32_t onGetFlags() const SK_OVERRIDE { 30 virtual uint32_t onGetFlags() const SK_OVERRIDE {
31 return kSkipTiled_Flag; 31 return kSkipTiled_Flag;
32 } 32 }
33 33
34 virtual SkString onShortName() SK_OVERRIDE { 34 virtual SkString onShortName() SK_OVERRIDE {
35 return SkString("roundrects"); 35 return SkString("roundrects");
36 } 36 }
37 37
38 virtual SkISize onISize() SK_OVERRIDE { 38 virtual SkISize onISize() SK_OVERRIDE {
39 return make_isize(1200, 900); 39 return SkISize::Make(1200, 900);
40 } 40 }
41 41
42 void makePaints() { 42 void makePaints() {
43 { 43 {
44 // no AA 44 // no AA
45 SkPaint p; 45 SkPaint p;
46 fPaints.push_back(p); 46 fPaints.push_back(p);
47 } 47 }
48 48
49 { 49 {
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 334
335 typedef GM INHERITED; 335 typedef GM INHERITED;
336 }; 336 };
337 337
338 ////////////////////////////////////////////////////////////////////////////// 338 //////////////////////////////////////////////////////////////////////////////
339 339
340 static GM* MyFactory(void*) { return new RoundRectGM; } 340 static GM* MyFactory(void*) { return new RoundRectGM; }
341 static GMRegistry reg(MyFactory); 341 static GMRegistry reg(MyFactory);
342 342
343 } 343 }
OLDNEW
« no previous file with comments | « gm/resizeimagefilter.cpp ('k') | gm/rrects.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698