Chromium Code Reviews| 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 |
|
fs
2015/10/30 09:48:34
When (if) we manage to turn 'd' into a property we
|
| + // 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; |