| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 } | 69 } |
| 70 canvas->restore(); | 70 canvas->restore(); |
| 71 canvas->translate(r.width() + 10, 0); | 71 canvas->translate(r.width() + 10, 0); |
| 72 } | 72 } |
| 73 } | 73 } |
| 74 | 74 |
| 75 private: | 75 private: |
| 76 typedef skiagm::GM INHERITED; | 76 typedef skiagm::GM INHERITED; |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 DEF_GM( return SkNEW(AlphaGradientsGM); ) | 79 DEF_GM(return new AlphaGradientsGM;) |
| OLD | NEW |