| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 #include "gm.h" | 8 #include "gm.h" |
| 9 #include "SkCanvas.h" | 9 #include "SkCanvas.h" |
| 10 #include "SkPaint.h" | 10 #include "SkPaint.h" |
| 11 #include "SkPath.h" | |
| 12 #include "SkRandom.h" | 11 #include "SkRandom.h" |
| 13 | 12 |
| 14 namespace skiagm { | 13 namespace skiagm { |
| 15 | 14 |
| 16 class EmptyPathGM : public GM { | 15 class EmptyPathGM : public GM { |
| 17 public: | 16 public: |
| 18 EmptyPathGM() {} | 17 EmptyPathGM() {} |
| 19 | 18 |
| 20 protected: | 19 protected: |
| 21 SkString onShortName() { | 20 SkString onShortName() { |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 private: | 125 private: |
| 127 typedef GM INHERITED; | 126 typedef GM INHERITED; |
| 128 }; | 127 }; |
| 129 | 128 |
| 130 ////////////////////////////////////////////////////////////////////////////// | 129 ////////////////////////////////////////////////////////////////////////////// |
| 131 | 130 |
| 132 static GM* MyFactory(void*) { return new EmptyPathGM; } | 131 static GM* MyFactory(void*) { return new EmptyPathGM; } |
| 133 static GMRegistry reg(MyFactory); | 132 static GMRegistry reg(MyFactory); |
| 134 | 133 |
| 135 } | 134 } |
| OLD | NEW |