Index: third_party/WebKit/Source/core/style/StyleRareInheritedData.h |
diff --git a/third_party/WebKit/Source/core/style/StyleRareInheritedData.h b/third_party/WebKit/Source/core/style/StyleRareInheritedData.h |
index f3d1a9b1c1b656c04609a79fb0aa6ee5ce225bcf..b4515f6e5d00e5a2cebf75dc0d81188e18659f0c 100644 |
--- a/third_party/WebKit/Source/core/style/StyleRareInheritedData.h |
+++ b/third_party/WebKit/Source/core/style/StyleRareInheritedData.h |
@@ -52,6 +52,9 @@ typedef HeapVector<CursorData> CursorList; |
// This struct is for rarely used 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 StyleRareInheritedData : public RefCounted<StyleRareInheritedData> { |
public: |
static PassRefPtr<StyleRareInheritedData> create() { return adoptRef(new StyleRareInheritedData); } |