async binding handler cleanup

This commit is contained in:
cefsharp-ms
2015-07-29 13:05:34 +02:00
parent 561c2de020
commit c9451f160e
4 changed files with 2 additions and 12 deletions
@@ -18,7 +18,7 @@ namespace CefSharp
void JavascriptAsyncObjectWrapper::Bind(const CefRefPtr<CefV8Value> &value)
{
//V8Value that represents this javascript object - only one per complex type, no accessor
auto javascriptObject = value->CreateObject(nullptr);
auto javascriptObject = CefV8Value::CreateObject(nullptr);
auto objectName = StringUtils::ToNative(_object->JavascriptName);
value->SetValue(objectName, javascriptObject, V8_PROPERTY_ATTRIBUTE_NONE);