OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 #include "gm.h" | 7 #include "gm.h" |
9 #include "SkRandom.h" | 8 #include "SkRandom.h" |
10 | 9 |
11 namespace skiagm { | 10 namespace skiagm { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 private: | 64 private: |
66 typedef GM INHERITED; | 65 typedef GM INHERITED; |
67 }; | 66 }; |
68 | 67 |
69 ////////////////////////////////////////////////////////////////////////////// | 68 ////////////////////////////////////////////////////////////////////////////// |
70 | 69 |
71 static GM* MyFactory(void*) { return new PointsGM; } | 70 static GM* MyFactory(void*) { return new PointsGM; } |
72 static GMRegistry reg(MyFactory); | 71 static GMRegistry reg(MyFactory); |
73 | 72 |
74 } | 73 } |
OLD | NEW |