Index: extensions/renderer/module_system.cc |
diff --git a/extensions/renderer/module_system.cc b/extensions/renderer/module_system.cc |
index 3e3da6a1b7af4d116bcccba8c4cc69c238cf89a5..e84f0e072a133a9ef7b3d080470731ee8f1ad8a7 100644 |
--- a/extensions/renderer/module_system.cc |
+++ b/extensions/renderer/module_system.cc |
@@ -101,8 +101,8 @@ class DefaultExceptionHandler : public ModuleSystem::ExceptionHandler { |
void SetExportsProperty( |
const v8::FunctionCallbackInfo<v8::Value>& args) { |
v8::Local<v8::Object> obj = args.This(); |
- DCHECK_EQ(2, args.Length()); |
- DCHECK(args[0]->IsString()); |
+ CHECK_EQ(2, args.Length()); |
+ CHECK(args[0]->IsString()); |
v8::Maybe<bool> result = |
obj->DefineOwnProperty(args.GetIsolate()->GetCurrentContext(), |
args[0]->ToString(), args[1], v8::ReadOnly); |