Index: experimental/svg/model/SkSVGDOM.cpp |
diff --git a/experimental/svg/model/SkSVGDOM.cpp b/experimental/svg/model/SkSVGDOM.cpp |
index 6e4bc49a9f803ad7138df33d990f62600fa4173c..c0b10a5ea4dc1febaa0284b693f47f981943af46 100644 |
--- a/experimental/svg/model/SkSVGDOM.cpp |
+++ b/experimental/svg/model/SkSVGDOM.cpp |
@@ -339,3 +339,7 @@ void SkSVGDOM::setContainerSize(const SkSize& containerSize) { |
// TODO: inval |
fContainerSize = containerSize; |
} |
+ |
+void SkSVGDOM::setRoot(sk_sp<SkSVGNode> root) { |
+ fRoot = std::move(root); |
+} |