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

Unified Diff: third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.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/bindings/modules/v8/V8BindingForModules.cpp
diff --git a/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp b/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp
index 2a6404cb3fa56a564153917ee6c6270fb613ff0a..583e00e9343de34e811f1304c1e956c5fecbdee9 100644
--- a/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp
+++ b/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp
@@ -417,7 +417,7 @@ static v8::Local<v8::Value> deserializeIDBValue(
return v8::Local<v8::Value>();
bool injected =
injectV8KeyIntoV8Value(isolate, key, v8Value, value->keyPath());
- ASSERT_UNUSED(injected, injected);
+ DCHECK(injected);
}
return v8Value;
@@ -619,7 +619,7 @@ void assertPrimaryKeyValidOrInjectable(ScriptState* scriptState,
bool injected = injectV8KeyIntoV8Value(
isolate, keyValue.v8Value(), scriptValue.v8Value(), value->keyPath());
- ASSERT_UNUSED(injected, injected);
+ DCHECK(injected);
}
#endif

Powered by Google App Engine
This is Rietveld 408576698