| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index e312145bdb6fa2da33ed7ce7bddb1d9a05052ee5..49d84c9545ea0007d229625bf1ab2e2d56d56948 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -2814,8 +2814,7 @@ void LayoutObject::destroyAndCleanupAnonymousWrappers() {
|
|
|
| LayoutObject* destroyRoot = this;
|
| for (LayoutObject *destroyRootParent = destroyRoot->parent();
|
| - destroyRootParent && destroyRootParent->isAnonymous() &&
|
| - !destroyRootParent->parent()->createsAnonymousWrapper();
|
| + destroyRootParent && destroyRootParent->isAnonymous();
|
| destroyRoot = destroyRootParent,
|
| destroyRootParent = destroyRootParent->parent()) {
|
| // Anonymous block continuations are tracked and destroyed elsewhere (see
|
|
|