Florin Malita | b341810 | 2020-10-15 18:10:29 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
| 8 | #ifndef SkSVGDefs_DEFINED |
| 9 | #define SkSVGDefs_DEFINED |
| 10 | |
| 11 | #include "modules/svg/include/SkSVGHiddenContainer.h" |
| 12 | |
| 13 | class SkSVGDefs : public SkSVGHiddenContainer { |
| 14 | public: |
| 15 | static sk_sp<SkSVGDefs> Make() { return sk_sp<SkSVGDefs>(new SkSVGDefs()); } |
| 16 | |
| 17 | private: |
| 18 | SkSVGDefs() : INHERITED(SkSVGTag::kDefs) {} |
| 19 | |
| 20 | using INHERITED = SkSVGHiddenContainer; |
| 21 | }; |
| 22 | |
| 23 | #endif // SkSVGDefs_DEFINED |