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 "SkSVGContainer.h" 12 13 class SkSVGHiddenContainer : public SkSVGContainer { 14 public: 15 virtual ~SkSVGHiddenContainer() = default; 16 17 protected: SkSVGHiddenContainer(SkSVGTag t)18 explicit SkSVGHiddenContainer(SkSVGTag t) : INHERITED(t) {} 19 onRender(const SkSVGRenderContext &)20 void onRender(const SkSVGRenderContext&) const final {} 21 22 private: 23 typedef SkSVGContainer INHERITED; 24 }; 25 26 #endif // SkSVGHiddenContainer_DEFINED 27