| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 xfer->unref(); | 116 xfer->unref(); |
| 117 } | 117 } |
| 118 } | 118 } |
| 119 | 119 |
| 120 private: | 120 private: |
| 121 typedef skiagm::GM INHERITED; | 121 typedef skiagm::GM INHERITED; |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 ////////////////////////////////////////////////////////////////////////////////
///// | 124 ////////////////////////////////////////////////////////////////////////////////
///// |
| 125 | 125 |
| 126 DEF_GM( return SkNEW_ARGS(VerticesGM, (0xFF)); ) | 126 DEF_GM(return new VerticesGM(0xFF);) |
| 127 DEF_GM( return SkNEW_ARGS(VerticesGM, (0x80)); ) | 127 DEF_GM(return new VerticesGM(0x80);) |
| OLD | NEW |