Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2892)

Unified Diff: experimental/svg/model/SkSVGContainer.h

Issue 2327233003: [SVGDom] Initial linear gradient support (Closed)
Patch Set: review Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/svg/model/SkSVGAttributeParser.cpp ('k') | experimental/svg/model/SkSVGDOM.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/svg/model/SkSVGContainer.h
diff --git a/experimental/svg/model/SkSVGContainer.h b/experimental/svg/model/SkSVGContainer.h
index 9a3fd621ab80b3b1ed62aefb4c8f6b0a0d6ce9fe..73c7c1803b3470553509d202c6814ea16db47730 100644
--- a/experimental/svg/model/SkSVGContainer.h
+++ b/experimental/svg/model/SkSVGContainer.h
@@ -18,13 +18,14 @@ public:
void appendChild(sk_sp<SkSVGNode>) override;
protected:
- SkSVGContainer(SkSVGTag);
+ explicit SkSVGContainer(SkSVGTag);
void onRender(const SkSVGRenderContext&) const override;
-private:
+ // TODO: add some sort of child iterator, and hide the container.
SkSTArray<1, sk_sp<SkSVGNode>, true> fChildren;
+private:
typedef SkSVGTransformableNode INHERITED;
};
« no previous file with comments | « experimental/svg/model/SkSVGAttributeParser.cpp ('k') | experimental/svg/model/SkSVGDOM.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698