Index: experimental/svg/model/SkSVGHiddenContainer.h |
diff --git a/experimental/svg/model/SkSVGHiddenContainer.h b/experimental/svg/model/SkSVGHiddenContainer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e224e55038e940597a978915a0616832131b7cb7 |
--- /dev/null |
+++ b/experimental/svg/model/SkSVGHiddenContainer.h |
@@ -0,0 +1,26 @@ |
+/* |
+ * Copyright 2016 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#ifndef SkSVGHiddenContainer_DEFINED |
+#define SkSVGHiddenContainer_DEFINED |
+ |
+#include "SkSVGContainer.h" |
+ |
+class SkSVGHiddenContainer : public SkSVGContainer { |
+public: |
+ virtual ~SkSVGHiddenContainer() = default; |
+ |
+protected: |
+ explicit SkSVGHiddenContainer(SkSVGTag t) : INHERITED(t) {} |
+ |
+ void onRender(const SkSVGRenderContext&) const final {} |
+ |
+private: |
+ typedef SkSVGContainer INHERITED; |
+}; |
+ |
+#endif // SkSVGHiddenContainer_DEFINED |