| Index: third_party/WebKit/Source/core/dom/ElementRareData.h
|
| diff --git a/third_party/WebKit/Source/core/dom/ElementRareData.h b/third_party/WebKit/Source/core/dom/ElementRareData.h
|
| index ad4f572f92bb28ac70611aaab76f7acc1157cd71..beda92dbcd1d990e6c709a419fab924c7717514f 100644
|
| --- a/third_party/WebKit/Source/core/dom/ElementRareData.h
|
| +++ b/third_party/WebKit/Source/core/dom/ElementRareData.h
|
| @@ -44,15 +44,15 @@
|
|
|
| namespace blink {
|
|
|
| -class LayoutObject;
|
| +class NodeLayoutData;
|
| class CompositorProxiedPropertySet;
|
| class ResizeObservation;
|
| class ResizeObserver;
|
|
|
| class ElementRareData : public NodeRareData {
|
| public:
|
| - static ElementRareData* Create(LayoutObject* layout_object) {
|
| - return new ElementRareData(layout_object);
|
| + static ElementRareData* Create() {
|
| + return new ElementRareData();
|
| }
|
|
|
| ~ElementRareData();
|
| @@ -226,7 +226,7 @@ class ElementRareData : public NodeRareData {
|
|
|
| Member<AccessibleNode> accessible_node_;
|
|
|
| - explicit ElementRareData(LayoutObject*);
|
| + explicit ElementRareData();
|
| };
|
|
|
| DEFINE_TRAIT_FOR_TRACE_WRAPPERS(ElementRareData);
|
| @@ -235,8 +235,8 @@ inline LayoutSize DefaultMinimumSizeForResizing() {
|
| return LayoutSize(LayoutUnit::Max(), LayoutUnit::Max());
|
| }
|
|
|
| -inline ElementRareData::ElementRareData(LayoutObject* layout_object)
|
| - : NodeRareData(layout_object),
|
| +inline ElementRareData::ElementRareData()
|
| + : NodeRareData(),
|
| minimum_size_for_resizing_(DefaultMinimumSizeForResizing()),
|
| class_list_(nullptr) {
|
| is_element_rare_data_ = true;
|
|
|