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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8ObjectConstructor.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/V8ObjectConstructor.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8ObjectConstructor.cpp b/third_party/WebKit/Source/bindings/core/v8/V8ObjectConstructor.cpp
index e0834372314735378a541f887847b8564b580a1f..2f5f7f4ba4d044085696573fa1656ac683148d16 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8ObjectConstructor.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8ObjectConstructor.cpp
@@ -34,7 +34,7 @@ v8::MaybeLocal<v8::Object> V8ObjectConstructor::NewInstance(
v8::Local<v8::Function> function,
int argc,
v8::Local<v8::Value> argv[]) {
- ASSERT(!function.IsEmpty());
+ DCHECK(!function.IsEmpty());
TRACE_EVENT0("v8", "v8.newInstance");
ConstructorMode constructor_mode(isolate);
v8::MicrotasksScope microtasks_scope(

Powered by Google App Engine
This is Rietveld 408576698