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 "SkSVGHiddenContainer.h" 12 13 class SkSVGDefs : public SkSVGHiddenContainer { 14 public: 15 virtual ~SkSVGDefs() = default; Make()16 static sk_sp<SkSVGDefs> Make() { return sk_sp<SkSVGDefs>(new SkSVGDefs()); } 17 18 private: SkSVGDefs()19 SkSVGDefs() : INHERITED(SkSVGTag::kDefs) {} 20 21 typedef SkSVGHiddenContainer INHERITED; 22 }; 23 24 #endif // SkSVGDefs_DEFINED 25