Make wrapper objects contain references to the Properties/Methods they represent

This commit is contained in:
amaitland
2014-08-28 15:27:06 +10:00
parent d0dc5d9409
commit 0130fa427d
13 changed files with 102 additions and 128 deletions
@@ -16,13 +16,13 @@ namespace CefSharp
{
auto browserProxy = CefAppWrapper::Instance->CreateBrowserProxy();
return browserProxy->SetProperty(_owner->Id, _prop->ManagedName, value);
return browserProxy->SetProperty(_ownerId, _javascriptProperty->ManagedName, value);
};
Object^ JavascriptPropertyWrapper::GetProperty()
{
auto browserProxy = CefAppWrapper::Instance->CreateBrowserProxy();
return browserProxy->GetProperty(_owner->Id, _prop->ManagedName);
return browserProxy->GetProperty(_ownerId, _javascriptProperty->ManagedName);
};
}