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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptFunction.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/ScriptFunction.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptFunction.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptFunction.cpp
index 9e630719a3f5bc1ddfe658bfa3094df2d3925e01..bec5937c5a980210b60056f9c64a93afc283d954 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptFunction.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptFunction.cpp
@@ -24,7 +24,7 @@ v8::Local<v8::Function> ScriptFunction::BindToV8Function() {
void ScriptFunction::CallCallback(
const v8::FunctionCallbackInfo<v8::Value>& args) {
- ASSERT(args.Data()->IsExternal());
+ DCHECK(args.Data()->IsExternal());
ScriptFunction* script_function = static_cast<ScriptFunction*>(
v8::Local<v8::External>::Cast(args.Data())->Value());
ScriptValue result = script_function->Call(

Powered by Google App Engine
This is Rietveld 408576698