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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolverTest.cpp

Issue 2817533003: Replace ASSERT, RELEASE_ASSERT, and ASSERT_NOT_REACHED in bindings (Closed)
Patch Set: fixed dcheck build error Created 3 years, 8 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/core/v8/ScriptPromiseResolverTest.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolverTest.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolverTest.cpp
index dd66b7a97845de7ed54075e9375a093857a8d54c..70e433ef99afda336333a3bd3a7007bcd9992a8d 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolverTest.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolverTest.cpp
@@ -32,7 +32,7 @@ class Function : public ScriptFunction {
: ScriptFunction(script_state), value_(value) {}
ScriptValue Call(ScriptValue value) override {
- ASSERT(!value.IsEmpty());
+ DCHECK(!value.IsEmpty());
*value_ = ToCoreString(value.V8Value()
->ToString(GetScriptState()->GetContext())
.ToLocalChecked());

Powered by Google App Engine
This is Rietveld 408576698