Change IBrowserProcess methods to return bool with out param for result to indicate error

This commit is contained in:
amaitland
2014-09-02 10:45:14 +10:00
parent 779f29fe1b
commit ac28397797
4 changed files with 16 additions and 16 deletions
@@ -24,6 +24,8 @@ namespace CefSharp
{
auto browserProxy = CefAppWrapper::Instance->CreateBrowserProxy();
return browserProxy->CallMethod(_ownerId, _javascriptMethod->JavascriptName, parameters);
Object^ result;
auto success = browserProxy->CallMethod(_ownerId, _javascriptMethod->JavascriptName, parameters, result);
return result;
}
}