Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Unified Diff: Source/bindings/core/dart/DartHandleProxy.cpp

Issue 1663753002: Apply all blink changes between @202695 and tip of trunk (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/2454_1
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/core/dart/DartEventListener.cpp ('k') | Source/bindings/core/dart/DartInjectedScript.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/bindings/core/dart/DartEventListener.cpp ('k') | Source/bindings/core/dart/DartInjectedScript.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698