Index: third_party/WebKit/Source/bindings/core/v8/V8BindingMacros.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8BindingMacros.h b/third_party/WebKit/Source/bindings/core/v8/V8BindingMacros.h |
index 28af46d4876348f5dc27e19880fde50d243aed8b..d58ff2653ba9cf4f6667046b5ce3473f3fcebbbb 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8BindingMacros.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8BindingMacros.h |
@@ -82,7 +82,7 @@ inline bool V8Call(v8::Maybe<T> maybe, |
T& out_variable, |
v8::TryCatch& try_catch) { |
bool success = V8Call(maybe, out_variable); |
- ASSERT(success || try_catch.HasCaught()); |
+ DCHECK(success || try_catch.HasCaught()); |
return success; |
} |
@@ -98,7 +98,7 @@ inline bool V8Call(v8::MaybeLocal<T> maybe_local, |
v8::Local<T>& out_variable, |
v8::TryCatch& try_catch) { |
bool success = maybe_local.ToLocal(&out_variable); |
- ASSERT(success || try_catch.HasCaught()); |
+ DCHECK(success || try_catch.HasCaught()); |
return success; |
} |