OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 "SkCanvas.h" | 9 #include "SkCanvas.h" |
10 #include "SkShader.h" | 10 #include "SkShader.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 } | 50 } |
51 | 51 |
52 private: | 52 private: |
53 SkTArray<SkPaint> fPaints; | 53 SkTArray<SkPaint> fPaints; |
54 | 54 |
55 typedef skiagm::GM INHERITED; | 55 typedef skiagm::GM INHERITED; |
56 }; | 56 }; |
57 | 57 |
58 ////////////////////////////////////////////////////////////////////////////////
///// | 58 ////////////////////////////////////////////////////////////////////////////////
///// |
59 | 59 |
60 DEF_GM( return SkNEW(BadPaintGM); ) | 60 DEF_GM(return new BadPaintGM;) |
OLD | NEW |