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
@@ -48,7 +48,9 @@ namespace CefSharp
{
auto browserProxy = CefAppWrapper::Instance->CreateBrowserProxy();
return browserProxy->GetProperty(_object->Id, memberName);
Object^ result;
auto success = browserProxy->GetProperty(_object->Id, memberName, result);
return result;
};
void JavascriptObjectWrapper::SetProperty(String^ memberName, Object^ value)