20 lines
360 B
C++
20 lines
360 B
C++
|
/*
|
||
|
* 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
|