aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/sksg/SkSGRenderNode.cpp
blob: 1609bac724d0bfc254622bad6b133d1dad9ababe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright 2017 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "SkSGRenderNode.h"

namespace sksg {

RenderNode::RenderNode() {}

void RenderNode::render(SkCanvas* canvas) const {
    SkASSERT(!this->isInvalidated());
    this->onRender(canvas);
}

} // namespace sksg