| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 | 10 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 canvas->scale(8, 8); | 43 canvas->scale(8, 8); |
| 44 canvas->drawPath(path, p); | 44 canvas->drawPath(path, p); |
| 45 } | 45 } |
| 46 | 46 |
| 47 private: | 47 private: |
| 48 typedef GM INHERITED; | 48 typedef GM INHERITED; |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 ////////////////////////////////////////////////////////////////////////////// | 51 ////////////////////////////////////////////////////////////////////////////// |
| 52 | 52 |
| 53 DEF_GM( return SkNEW(SmallArcGM); ) | 53 DEF_GM(return new SmallArcGM;) |
| 54 | |
| 55 } | 54 } |
| OLD | NEW |