OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 "SkGradientShader.h" | 10 #include "SkGradientShader.h" |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 | 145 |
146 private: | 146 private: |
147 SkAutoTUnref<SkColorFilter> fFilter; | 147 SkAutoTUnref<SkColorFilter> fFilter; |
148 SkAutoTUnref<SkShader> fGr1, fGr2; | 148 SkAutoTUnref<SkShader> fGr1, fGr2; |
149 | 149 |
150 typedef skiagm::GM INHERITED; | 150 typedef skiagm::GM INHERITED; |
151 }; | 151 }; |
152 | 152 |
153 ////////////////////////////////////////////////////////////////////////////// | 153 ////////////////////////////////////////////////////////////////////////////// |
154 | 154 |
155 DEF_GM( return SkNEW(LumaFilterGM); ) | 155 DEF_GM(return new LumaFilterGM;) |
OLD | NEW |