More readable

This commit is contained in:
Gabriel Handford 2016-11-02 16:23:37 -07:00 committed by Cheng Zhao
parent 31123f908d
commit 2931c27395

View file

@ -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) {