| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2014 Google Inc. | 3 * Copyright 2014 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 "SkPatchGrid.h" | 10 #include "SkPatchGrid.h" |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 grid.getPatch(x, y, cubics, NULL, NULL); | 149 grid.getPatch(x, y, cubics, NULL, NULL); |
| 150 draw_control_points(canvas, cubics); | 150 draw_control_points(canvas, cubics); |
| 151 } | 151 } |
| 152 } | 152 } |
| 153 } | 153 } |
| 154 | 154 |
| 155 private: | 155 private: |
| 156 typedef GM INHERITED; | 156 typedef GM INHERITED; |
| 157 }; | 157 }; |
| 158 | 158 |
| 159 DEF_GM(return SkNEW(SkPatchGridGM); ) | 159 DEF_GM(return new SkPatchGridGM;) |
| 160 | |
| 161 } | 160 } |
| OLD | NEW |