OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BD-style license that can be | 4 * Use of this source code is governed by a BD-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 #if SK_SUPPORT_GPU | 10 #if SK_SUPPORT_GPU |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 63 |
64 private: | 64 private: |
65 static const int kWidth = 200; | 65 static const int kWidth = 200; |
66 static const int kHeight = 200; | 66 static const int kHeight = 200; |
67 | 67 |
68 typedef GM INHERITED; | 68 typedef GM INHERITED; |
69 }; | 69 }; |
70 | 70 |
71 ////////////////////////////////////////////////////////////////////////////// | 71 ////////////////////////////////////////////////////////////////////////////// |
72 | 72 |
73 DEF_GM( return SkNEW(TextBlobUseAfterGpuFree); ) | 73 DEF_GM(return new TextBlobUseAfterGpuFree;) |
74 } | 74 } |
75 #endif | 75 #endif |
OLD | NEW |