| Index: third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| index 8a7330ed1f773c8433db806ab5caaef36b5556d4..b032703e1b129dcbe87564805d3159b24c900459 100644
|
| --- a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| @@ -106,7 +106,7 @@ MainThreadDebugger::MainThreadDebugger(v8::Isolate* isolate)
|
|
|
| MainThreadDebugger::~MainThreadDebugger() {
|
| MutexLocker locker(CreationMutex());
|
| - ASSERT(instance_ == this);
|
| + DCHECK_EQ(instance_, this);
|
| instance_ = nullptr;
|
| }
|
|
|
| @@ -242,7 +242,7 @@ void MainThreadDebugger::runMessageLoopOnPause(int context_group_id) {
|
| // Do not pause in Context of detached frame.
|
| if (!paused_frame)
|
| return;
|
| - ASSERT(paused_frame == paused_frame->LocalFrameRoot());
|
| + DCHECK(paused_frame == paused_frame->LocalFrameRoot());
|
| paused_ = true;
|
|
|
| if (UserGestureToken* token = UserGestureIndicator::CurrentToken())
|
|
|