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 SkSVGHiddenContainer_DEFINED 9 #define SkSVGHiddenContainer_DEFINED 10 11 #include "modules/svg/include/SkSVGContainer.h" 12 13 class SkSVGHiddenContainer : public SkSVGContainer { 14 protected: SkSVGHiddenContainer(SkSVGTag t)15 explicit SkSVGHiddenContainer(SkSVGTag t) : INHERITED(t) {} 16 onRender(const SkSVGRenderContext &)17 void onRender(const SkSVGRenderContext&) const final {} 18 19 private: 20 using INHERITED = SkSVGContainer; 21 }; 22 23 #endif // SkSVGHiddenContainer_DEFINED 24