| 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 SK_API SkSVGHiddenContainer : public SkSVGContainer { |
| 14 |
protected: |
| 15 |
explicit SkSVGHiddenContainer(SkSVGTag t) : INHERITED(t) {} |
| 16 |
|
| 17 |
void onRender(const SkSVGRenderContext&) const final {} |
| 18 |
|
| 19 |
private: |
| 20 |
using INHERITED = SkSVGContainer; |
| 21 |
}; |
| 22 |
|
| 23 |
#endif // SkSVGHiddenContainer_DEFINED |