| Index: third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.cpp b/third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.cpp
|
| index 8fdb35d1c5d5126f86b5f86e08f1f50bfd95f9b8..3bb8616ec8f84bd4dbccd34b8d16bd9eba44de1e 100644
|
| --- a/third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.cpp
|
| @@ -52,7 +52,7 @@ void NodeIntersectionObserverData::dispose()
|
| copyToVector(m_intersectionObservers, observersToDisconnect);
|
| for (auto& observer : observersToDisconnect)
|
| observer->disconnect();
|
| - ASSERT(m_intersectionObservers.isEmpty());
|
| + DCHECK(m_intersectionObservers.isEmpty());
|
| }
|
| #endif
|
|
|
| @@ -64,7 +64,7 @@ RawPtr<Node> NodeIntersectionObserverData::createWeakPtr(Node* node)
|
| if (!m_weakPointerFactory)
|
| m_weakPointerFactory = new WeakPtrFactory<Node>(node);
|
| WeakPtr<Node> result = m_weakPointerFactory->createWeakPtr();
|
| - ASSERT(result.get() == node);
|
| + DCHECK_EQ(result.get(), node);
|
| return result;
|
| #endif
|
| }
|
|
|