OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 | 9 |
10 namespace skiagm { | 10 namespace skiagm { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 Draw(canvas, rect1); | 57 Draw(canvas, rect1); |
58 Draw(canvas, rect2); | 58 Draw(canvas, rect2); |
59 } | 59 } |
60 | 60 |
61 private: | 61 private: |
62 typedef GM INHERITED; | 62 typedef GM INHERITED; |
63 }; | 63 }; |
64 | 64 |
65 ////////////////////////////////////////////////////////////////////////////// | 65 ////////////////////////////////////////////////////////////////////////////// |
66 | 66 |
67 DEF_GM(return SkNEW(ClipDrawDrawGM);) | 67 DEF_GM(return new ClipDrawDrawGM;) |
68 | |
69 } | 68 } |
OLD | NEW |