Callback uses (platform specific) error, with message

This commit is contained in:
Gabriel Handford 2016-11-02 16:20:26 -07:00 committed by Cheng Zhao
parent 5e8059e0fa
commit 99a5258999
5 changed files with 83 additions and 35 deletions

View file

@ -62,7 +62,8 @@ bool OpenExternal(
platform_util::OpenExternalCallback callback;
if (mate::Converter<platform_util::OpenExternalCallback>::FromV8(
args->isolate(), peek, &callback)) {
return platform_util::OpenExternal(url, activate, callback);
platform_util::OpenExternal(url, activate, callback);
return true;
}
return false;
}