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 "SkGradientShader.h" | 10 #include "SkGradientShader.h" |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 canvas->restore(); | 147 canvas->restore(); |
148 } | 148 } |
149 } | 149 } |
150 canvas->restore(); | 150 canvas->restore(); |
151 } | 151 } |
152 | 152 |
153 private: | 153 private: |
154 typedef GM INHERITED; | 154 typedef GM INHERITED; |
155 }; | 155 }; |
156 | 156 |
157 DEF_GM(return SkNEW(SkPatchGM); ) | 157 DEF_GM(return new SkPatchGM;) |
158 | |
159 } | 158 } |
OLD | NEW |