aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/sksg/SkSGRenderNode.cpp
blob: e952c69f20e07d93993ad040a82762668f09129f (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() : INHERITED(0) {}

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

} // namespace sksg