| 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 eca6b082996a9c4e144924398fe522653d4adbd0..e49984e02ba9cf5717b0d5a5f7dde441557e04d8 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -2700,8 +2700,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 the bottom of LayoutBlock::removeChild)
|
|
|