Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(593)

Unified Diff: third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp

Issue 2394683005: Remove ASSERT_UNUSED (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 ee9622a41fd409de6d0b801802b00f2856bbcc81..a6108f103b8a732bdb3ddaa4dea0369bf49a573a 100644
--- a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
+++ b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
@@ -326,7 +326,7 @@ v8::MaybeLocal<v8::Value> MainThreadDebugger::memoryInfo(
v8::Isolate* isolate,
v8::Local<v8::Context> context) {
ExecutionContext* executionContext = toExecutionContext(context);
- ASSERT_UNUSED(executionContext, executionContext);
+ DCHECK(executionContext);
ASSERT(executionContext->isDocument());
return toV8(MemoryInfo::create(), context->Global(), isolate);
}

Powered by Google App Engine
This is Rietveld 408576698