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

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

Issue 2220933003: [SVGDom] Improved transform parsing (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: review Created 4 years, 4 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/SkSVGDOM.cpp ('k') | experimental/svg/model/SkSVGTransformableNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/svg/model/SkSVGTransformableNode.h
diff --git a/experimental/svg/model/SkSVGTransformableNode.h b/experimental/svg/model/SkSVGTransformableNode.h
index 475fafb44f6083ca801ea86ac0e3e81841f92947..05644ac9737b9d101b9e4947efa0b205596027eb 100644
--- a/experimental/svg/model/SkSVGTransformableNode.h
+++ b/experimental/svg/model/SkSVGTransformableNode.h
@@ -15,7 +15,7 @@ class SkSVGTransformableNode : public SkSVGNode {
public:
virtual ~SkSVGTransformableNode() = default;
- void setTransform(const SkMatrix& m) { fMatrix = m; }
+ void setTransform(const SkSVGTransformType& t) { fTransform = t; }
protected:
SkSVGTransformableNode(SkSVGTag);
@@ -26,7 +26,7 @@ protected:
private:
// FIXME: should be sparse
- SkMatrix fMatrix;
+ SkSVGTransformType fTransform;
typedef SkSVGNode INHERITED;
};
« no previous file with comments | « experimental/svg/model/SkSVGDOM.cpp ('k') | experimental/svg/model/SkSVGTransformableNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698