| Index: third_party/WebKit/Source/core/events/TreeScopeEventContext.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/TreeScopeEventContext.cpp b/third_party/WebKit/Source/core/events/TreeScopeEventContext.cpp
|
| index fbe746560c8875fab63e3c41c779cd9f1f4e14fa..caad189d357ee1576b69cd897869ebea51f27fe1 100644
|
| --- a/third_party/WebKit/Source/core/events/TreeScopeEventContext.cpp
|
| +++ b/third_party/WebKit/Source/core/events/TreeScopeEventContext.cpp
|
| @@ -52,7 +52,9 @@ bool TreeScopeEventContext::isUnclosedTreeOf(const TreeScopeEventContext& other)
|
| return !containingClosedShadowTree()->isDescendantOf(other);
|
|
|
| // (4) |this| and |other| must be in exclusive branches.
|
| - ASSERT(other.isExclusivePartOf(*this));
|
| +#if DCHECK_IS_ON()
|
| + DCHECK(other.isExclusivePartOf(*this));
|
| +#endif
|
| return false;
|
| }
|
|
|
|
|