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