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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h

Issue 1425913004: [SVG] Shared <use> path geometry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 years, 2 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
Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h
index a351fec03e5e563557281f2c0a577f4c02167ac8..26a836537c13bf616ad55059be80f65e7bb84ee9 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h
@@ -130,6 +130,9 @@ private:
private:
OwnPtr<AffineTransform> m_localTransform;
+ // TODO(fmalita): the Path is now cached in SVGPath; while this additional cache is just a
+ // shallow copy, it certainly has a complexity/state management cost (plus allocation & storage
+ // overhead) - so we should look into removing it.
OwnPtr<Path> m_path;
mutable OwnPtr<LayoutSVGShapeRareData> m_rareData;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGElement.h » ('j') | third_party/WebKit/Source/core/svg/SVGPath.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698