mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 19:25:01 +00:00
Change IBrowserProcess methods to return bool with out param for result to indicate error
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user