Fix cpplint warning

This commit is contained in:
Cheng Zhao 2015-11-18 11:45:15 +08:00
parent 9ca022c98a
commit 47d7f2c050

View file

@ -357,10 +357,10 @@ void Session::DisableNetworkEmulation() {
base::Passed(&conditions)));
}
void Session::SetCertVerifyProc(v8::Local<v8::Value> val, mate::Arguments* args) {
void Session::SetCertVerifyProc(v8::Local<v8::Value> val,
mate::Arguments* args) {
AtomCertVerifier::VerifyProc proc;
if (val.IsEmpty() ||
!(val->IsNull() || mate::ConvertFromV8(args->isolate(), val, &proc))) {
if (!(val->IsNull() || mate::ConvertFromV8(args->isolate(), val, &proc))) {
args->ThrowError("Must pass null or function");
return;
}