blob: 1609bac724d0bfc254622bad6b133d1dad9ababe [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
12RenderNode::RenderNode() {}
13
14void RenderNode::render(SkCanvas* canvas) const {
15 SkASSERT(!this->isInvalidated());
16 this->onRender(canvas);
17}
18
19} // namespace sksg