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 "SkBitmap.h" | 9 #include "SkBitmap.h" |
10 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 | 176 |
177 private: | 177 private: |
178 SkAutoTUnref<SkPicture> fPicture; | 178 SkAutoTUnref<SkPicture> fPicture; |
179 | 179 |
180 const SkScalar kPictureWidth = 200; | 180 const SkScalar kPictureWidth = 200; |
181 const SkScalar kPictureHeight = 100; | 181 const SkScalar kPictureHeight = 100; |
182 | 182 |
183 typedef skiagm::GM INHERITED; | 183 typedef skiagm::GM INHERITED; |
184 }; | 184 }; |
185 | 185 |
186 DEF_GM( return SkNEW(PictureGeneratorGM); ) | 186 DEF_GM(return new PictureGeneratorGM;) |
OLD | NEW |