| Index: third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.h
|
| diff --git a/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.h b/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.h
|
| index 6a25a7ace4d4f799c49522f53e70c8bb2bf62c5f..1c212c7d2f2d3d9c984386ed45f086487dfb9594 100644
|
| --- a/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.h
|
| +++ b/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.h
|
| @@ -125,15 +125,15 @@ private:
|
|
|
| static void assertPrecondition(const Node& node)
|
| {
|
| -#if ENABLE(ASSERT)
|
| - ASSERT(!node.needsDistributionRecalc());
|
| - ASSERT(node.canParticipateInFlatTree());
|
| +#if DCHECK_IS_ON()
|
| + DCHECK(!node.needsDistributionRecalc());
|
| + DCHECK(node.canParticipateInFlatTree());
|
| #endif
|
| }
|
|
|
| static void assertPostcondition(const Node* node)
|
| {
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| if (node)
|
| assertPrecondition(*node);
|
| #endif
|
|
|