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 #include "Resources.h" | 10 #include "Resources.h" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 static const int kGMDimension = 600; | 92 static const int kGMDimension = 600; |
93 static const int kBitmapDimension = kGMDimension/4; | 93 static const int kBitmapDimension = kGMDimension/4; |
94 | 94 |
95 typedef GM INHERITED; | 95 typedef GM INHERITED; |
96 }; | 96 }; |
97 | 97 |
98 } // namespace skiagm | 98 } // namespace skiagm |
99 | 99 |
100 ////////////////////////////////////////////////////////////////////////////// | 100 ////////////////////////////////////////////////////////////////////////////// |
101 | 101 |
102 DEF_GM( return SkNEW(skiagm::ASTCBitmapGM); ) | 102 DEF_GM(return new skiagm::ASTCBitmapGM;) |
OLD | NEW |