Fix method call
This commit is contained in:
parent
3eb5f8d521
commit
128feb17cb
2 changed files with 2 additions and 2 deletions
|
@ -95,7 +95,7 @@ bool OpenExternal(const GURL& url, bool activate) {
|
||||||
bool OpenExternal(const GURL& url, bool activate, const OpenExternalCallback& callback) {
|
bool OpenExternal(const GURL& url, bool activate, const OpenExternalCallback& callback) {
|
||||||
// TODO: Implement async open if callback is specified
|
// TODO: Implement async open if callback is specified
|
||||||
bool opened = openExternal(url, activate);
|
bool opened = openExternal(url, activate);
|
||||||
callback(opened);
|
callback.Run(opened);
|
||||||
return opened;
|
return opened;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -323,7 +323,7 @@ bool OpenExternal(const base::string16& url, bool activate) {
|
||||||
bool OpenExternal(const base::string16& url, bool activate, const OpenExternalCallback& callback) {
|
bool OpenExternal(const base::string16& url, bool activate, const OpenExternalCallback& callback) {
|
||||||
// TODO: Implement async open if callback is specified
|
// TODO: Implement async open if callback is specified
|
||||||
bool opened = openExternal(url, activate);
|
bool opened = openExternal(url, activate);
|
||||||
callback(opened);
|
callback.Run(opened);
|
||||||
return opened;
|
return opened;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue