aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/svg/model/SkSVGHiddenContainer.h
blob: e224e55038e940597a978915a0616832131b7cb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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