OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "gm.h" | 8 #include "gm.h" |
9 #include "SkPath.h" | 9 #include "SkPath.h" |
10 #include "SkRandom.h" | 10 #include "SkRandom.h" |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 static skiagm::GM* F2(void*) { return new Strokes3GM; } | 400 static skiagm::GM* F2(void*) { return new Strokes3GM; } |
401 static skiagm::GM* F3(void*) { return new Strokes4GM; } | 401 static skiagm::GM* F3(void*) { return new Strokes4GM; } |
402 static skiagm::GM* F4(void*) { return new Strokes5GM; } | 402 static skiagm::GM* F4(void*) { return new Strokes5GM; } |
403 | 403 |
404 static skiagm::GMRegistry R0(F0); | 404 static skiagm::GMRegistry R0(F0); |
405 static skiagm::GMRegistry R1(F1); | 405 static skiagm::GMRegistry R1(F1); |
406 static skiagm::GMRegistry R2(F2); | 406 static skiagm::GMRegistry R2(F2); |
407 static skiagm::GMRegistry R3(F3); | 407 static skiagm::GMRegistry R3(F3); |
408 static skiagm::GMRegistry R4(F4); | 408 static skiagm::GMRegistry R4(F4); |
409 | 409 |
410 DEF_GM( return SkNEW(ZeroLenStrokesGM); ) | 410 DEF_GM( return new ZeroLenStrokesGM; ) |
OLD | NEW |