| Index: third_party/WebKit/Source/core/dom/ContainerNode.h
|
| diff --git a/third_party/WebKit/Source/core/dom/ContainerNode.h b/third_party/WebKit/Source/core/dom/ContainerNode.h
|
| index e4e7c4bbd7312278afdd2a37337158c1203b1df3..cd192c01ec24c85e3969c9794ce6c7c895426c3e 100644
|
| --- a/third_party/WebKit/Source/core/dom/ContainerNode.h
|
| +++ b/third_party/WebKit/Source/core/dom/ContainerNode.h
|
| @@ -265,7 +265,7 @@ private:
|
| Member<Node> m_lastChild;
|
| };
|
|
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| bool childAttachedAllowedWhenAttachingChildren(ContainerNode*);
|
| #endif
|
|
|
| @@ -337,7 +337,7 @@ inline bool Node::isTreeScope() const
|
|
|
| inline void getChildNodes(ContainerNode& node, NodeVector& nodes)
|
| {
|
| - ASSERT(!nodes.size());
|
| + DCHECK(!nodes.size());
|
| for (Node* child = node.firstChild(); child; child = child->nextSibling())
|
| nodes.append(child);
|
| }
|
|
|