OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 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 "SkLightingImageFilter.h" | 9 #include "SkLightingImageFilter.h" |
10 #include "SkOffsetImageFilter.h" | 10 #include "SkOffsetImageFilter.h" |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 } | 163 } |
164 | 164 |
165 private: | 165 private: |
166 typedef GM INHERITED; | 166 typedef GM INHERITED; |
167 SkBitmap fBitmap; | 167 SkBitmap fBitmap; |
168 bool fInitialized; | 168 bool fInitialized; |
169 }; | 169 }; |
170 | 170 |
171 ////////////////////////////////////////////////////////////////////////////// | 171 ////////////////////////////////////////////////////////////////////////////// |
172 | 172 |
173 DEF_GM( return SkNEW(ImageLightingGM); ) | 173 DEF_GM(return new ImageLightingGM;) |
174 | |
175 } | 174 } |
OLD | NEW |