| Index: third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp b/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp
|
| index 90c0d02f533c8b82ba6e5f48147227b1f797fdfa..473fc039e70e0db996c5e7f4518825c0447a3d9c 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp
|
| @@ -44,7 +44,7 @@ void LayoutObjectChildList::destroyLeftoverChildren()
|
|
|
| // Destroy any anonymous children remaining in the layout tree, as well as implicit (shadow) DOM elements like those used in the engine-based text fields.
|
| if (firstChild()->node())
|
| - firstChild()->node()->setLayoutObject(nullptr);
|
| + firstChild()->node()->clearStyleAndLayoutObject();
|
| firstChild()->destroy();
|
| }
|
| }
|
|
|