| Index: third_party/WebKit/Source/core/frame/PlatformEventDispatcher.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/PlatformEventDispatcher.cpp b/third_party/WebKit/Source/core/frame/PlatformEventDispatcher.cpp
|
| index 464c28a16598136ddc51a8ffc1b6caa0400dfaec..90ccfd1203f220ce8284969b1be3bb5bcbc627a5 100644
|
| --- a/third_party/WebKit/Source/core/frame/PlatformEventDispatcher.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/PlatformEventDispatcher.cpp
|
| @@ -14,7 +14,7 @@ PlatformEventDispatcher::PlatformEventDispatcher()
|
|
|
| void PlatformEventDispatcher::AddController(
|
| PlatformEventController* controller) {
|
| - ASSERT(controller);
|
| + DCHECK(controller);
|
| // TODO: If we can avoid to register a same controller twice, we can change
|
| // this 'if' to ASSERT.
|
| if (controllers_.Contains(controller))
|
| @@ -30,7 +30,7 @@ void PlatformEventDispatcher::AddController(
|
|
|
| void PlatformEventDispatcher::RemoveController(
|
| PlatformEventController* controller) {
|
| - ASSERT(controllers_.Contains(controller));
|
| + DCHECK(controllers_.Contains(controller));
|
|
|
| controllers_.erase(controller);
|
| if (!is_dispatching_ && controllers_.IsEmpty()) {
|
|
|