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

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

Issue 2222793002: [SVGDom] Add <svg> viewBox support (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: typo 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/SkSVGShape.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 c345e8594f3684c4bdeaa9de19a8e1699841ad6d..475fafb44f6083ca801ea86ac0e3e81841f92947 100644
--- a/experimental/svg/model/SkSVGTransformableNode.h
+++ b/experimental/svg/model/SkSVGTransformableNode.h
@@ -20,9 +20,9 @@ public:
protected:
SkSVGTransformableNode(SkSVGTag);
- void onSetAttribute(SkSVGAttribute, const SkSVGValue&) override;
+ bool onPrepareToRender(SkSVGRenderContext*) const override;
- const SkMatrix& onLocalMatrix() const override { return fMatrix; }
+ void onSetAttribute(SkSVGAttribute, const SkSVGValue&) override;
private:
// FIXME: should be sparse
« no previous file with comments | « experimental/svg/model/SkSVGShape.cpp ('k') | experimental/svg/model/SkSVGTransformableNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698