| 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 9534e3100d2d326208c8a9c88f2514344fcf0f4d..dcb64d2e5724db73bd7faf2402b25f94305265d7 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -2785,8 +2785,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
|
|
|