OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 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 #ifndef SkSVGG_DEFINED | 8 #ifndef SkSVGG_DEFINED |
9 #define SkSVGG_DEFINED | 9 #define SkSVGG_DEFINED |
10 | 10 |
11 #include "SkSVGContainer.h" | 11 #include "SkSVGContainer.h" |
12 | 12 |
13 class SkSVGG : public SkSVGContainer { | 13 class SkSVGG : public SkSVGContainer { |
14 public: | 14 public: |
15 virtual ~SkSVGG() = default; | 15 virtual ~SkSVGG() = default; |
16 | 16 |
17 static sk_sp<SkSVGG> Make() { return sk_sp<SkSVGG>(new SkSVGG()); } | 17 static sk_sp<SkSVGG> Make() { return sk_sp<SkSVGG>(new SkSVGG()); } |
18 | 18 |
19 private: | 19 private: |
20 SkSVGG() : INHERITED(SkSVGTag::g) { } | 20 SkSVGG() : INHERITED(SkSVGTag::kG) { } |
21 | 21 |
22 typedef SkSVGContainer INHERITED; | 22 typedef SkSVGContainer INHERITED; |
23 }; | 23 }; |
24 | 24 |
25 #endif // SkSVGG_DEFINED | 25 #endif // SkSVGG_DEFINED |
OLD | NEW |