More readable
This commit is contained in:
parent
31123f908d
commit
2931c27395
1 changed files with 2 additions and 1 deletions
|
@ -202,7 +202,8 @@ bool OpenExternal(const GURL& url, bool activate) {
|
|||
if (!ns_url) {
|
||||
return false;
|
||||
}
|
||||
return !OpenURL(ns_url, activate);
|
||||
NSError *error = OpenURL(ns_url, activate);
|
||||
return !error;
|
||||
}
|
||||
|
||||
void OpenExternal(const GURL& url, bool activate, const OpenExternalCallback& c) {
|
||||
|
|
Loading…
Reference in a new issue