blob: e952c69f20e07d93993ad040a82762668f09129f [file] [log] [blame]
Florin Malita4aa44412017-12-19 12:21:02 -05001/*
2 * Copyright 2017 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#include "SkSGRenderNode.h"
9
10namespace sksg {
11
Florin Malitac14f1442018-01-05 11:32:31 -050012RenderNode::RenderNode() : INHERITED(0) {}
Florin Malita4aa44412017-12-19 12:21:02 -050013
14void RenderNode::render(SkCanvas* canvas) const {
Florin Malitac75e2402018-01-03 16:17:29 -050015 SkASSERT(!this->hasInval());
Florin Malita4aa44412017-12-19 12:21:02 -050016 this->onRender(canvas);
17}
18
19} // namespace sksg