Home | History | Annotate | Download | only in sksg
      1 /*
      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 
     10 namespace sksg {
     11 
     12 RenderNode::RenderNode() : INHERITED(0) {}
     13 
     14 void RenderNode::render(SkCanvas* canvas) const {
     15     SkASSERT(!this->hasInval());
     16     this->onRender(canvas);
     17 }
     18 
     19 } // namespace sksg
     20