| Index: Source/bindings/core/dart/DartHandleProxy.cpp
|
| diff --git a/Source/bindings/core/dart/DartHandleProxy.cpp b/Source/bindings/core/dart/DartHandleProxy.cpp
|
| index e8c8756ba090d9d4f2f8f5ee07692abae30519f5..89ba858b2708b6fada2ef9d02fe73923c15f1ee9 100644
|
| --- a/Source/bindings/core/dart/DartHandleProxy.cpp
|
| +++ b/Source/bindings/core/dart/DartHandleProxy.cpp
|
| @@ -1201,14 +1201,14 @@ v8::Handle<v8::Value> DartHandleProxy::evaluate(Dart_Handle target, Dart_Handle
|
|
|
| Dart_Handle dartValue;
|
| if (propertyValue->IsFunction()) {
|
| - dartValue = JsInterop::toDart(propertyValue);
|
| + dartValue = JsInterop::toDart(propertyValue, true);
|
| // We need to wrap the JsFunction object we get back
|
| // from the vanila JsInterop library so that users can
|
| // call it like a normal Dart function instead of
|
| // having to use the apply method.
|
| dartValue = Dart_Invoke(domData->jsLibrary(), Dart_NewStringFromCString("_wrapAsDebuggerVarArgsFunction"), 1, &dartValue);
|
| } else {
|
| - dartValue = JsInterop::toDart(propertyValue);
|
| + dartValue = JsInterop::toDart(propertyValue, true);
|
| }
|
| locals.append(V8Converter::stringToDart(propertyName));
|
| locals.append(dartValue);
|
|
|