Index: third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h |
diff --git a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h |
index 98fd28f438372cf759e6c1476c4bfcb60b59996b..8def9ee40fc2b805ddec948631e159b93fc82b44 100644 |
--- a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h |
+++ b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h |
@@ -75,6 +75,9 @@ enum PageSizeType { |
// This struct is for rarely used non-inherited CSS3, CSS2, and WebKit-specific properties. |
// By grouping them together, we save space, and only allocate this object when someone |
// actually uses one of these properties. |
+// TODO(sashab): Move this into a private class on ComputedStyle, and remove |
+// all methods on it, merging them into copy/creation methods on ComputedStyle |
+// instead. Keep the allocation logic, only allocating a new object if needed. |
class CORE_EXPORT StyleRareNonInheritedData : public RefCounted<StyleRareNonInheritedData> { |
public: |
static PassRefPtr<StyleRareNonInheritedData> create() { return adoptRef(new StyleRareNonInheritedData); } |