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

Unified Diff: pkg/dev_compiler/lib/js/legacy/dart_sdk.js

Side-by-side diff isn't available for this file because of its large size.
Issue 2504733002: Fix _wrapDartFunction to call the JS set method directly. At one point this code was previously sur… (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: pkg/dev_compiler/lib/js/legacy/dart_sdk.js
diff --git a/pkg/dev_compiler/lib/js/legacy/dart_sdk.js b/pkg/dev_compiler/lib/js/legacy/dart_sdk.js
index b0f175536a860b4b85e34d81f265bab4f6bcdec2..2312c34571088e876960f4d395fa752e4ac4c745 100644
--- a/pkg/dev_compiler/lib/js/legacy/dart_sdk.js
+++ b/pkg/dev_compiler/lib/js/legacy/dart_sdk.js
@@ -36891,7 +36891,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
let args = Array.prototype.map.call(arguments, js._convertToDart);
return js._convertToJS(f(...args));
};
- dart.dsetindex(js._dartProxies, wrapper, f);
+ js._dartProxies.set(wrapper, f);
return wrapper;
};
dart.fn(js._wrapDartFunction, dynamicTodynamic$());
« no previous file with comments | « pkg/dev_compiler/lib/js/es6/dart_sdk.js ('k') | pkg/dev_compiler/tool/input_sdk/lib/js/dart2js/js_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698