| Index: third_party/WebKit/Source/core/events/EventPath.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/EventPath.cpp b/third_party/WebKit/Source/core/events/EventPath.cpp
|
| index 5347b62cf18070216d145f7fc49bd055883a5330..67bcb31871732b7e1fc5b34cf7077a71ac6fc35a 100644
|
| --- a/third_party/WebKit/Source/core/events/EventPath.cpp
|
| +++ b/third_party/WebKit/Source/core/events/EventPath.cpp
|
| @@ -186,8 +186,7 @@ void EventPath::calculateTreeOrderAndSetNearestAncestorClosedTree()
|
| rootTree = treeScopeEventContext.get();
|
| continue;
|
| }
|
| - // TODO(tkent): Add a stream printer for HashMap::iterator.
|
| - ASSERT(treeScopeEventContextMap.find(parent) != treeScopeEventContextMap.end());
|
| + DCHECK_NE(treeScopeEventContextMap.find(parent), treeScopeEventContextMap.end());
|
| treeScopeEventContextMap.find(parent)->value->addChild(*treeScopeEventContext.get());
|
| }
|
| DCHECK(rootTree);
|
|
|