mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
Create BrowserProcessResponse to represent the response from the WCF calls
This commit is contained in:
@@ -24,9 +24,7 @@ namespace CefSharp
|
||||
{
|
||||
auto browserProxy = CefAppWrapper::Instance->CreateBrowserProxy();
|
||||
|
||||
Object^ result;
|
||||
String^ exception;
|
||||
auto success = browserProxy->CallMethod(_ownerId, _javascriptMethod->JavascriptName, parameters, result, exception);
|
||||
return result;
|
||||
auto response = browserProxy->CallMethod(_ownerId, _javascriptMethod->JavascriptName, parameters);
|
||||
return response->Result;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user