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

Unified Diff: lib/isolate/frog/natives.js

Issue 9662046: Isolate library changes for leg support. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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
Index: lib/isolate/frog/natives.js
===================================================================
--- lib/isolate/frog/natives.js (revision 5289)
+++ lib/isolate/frog/natives.js (working copy)
@@ -7,6 +7,8 @@
var $globalThis = this;
var $globals = null;
var $globalState = null;
+function $initGlobals(context) { context.isolateStatics = {}; }
+function $setGlobals(context) { $globals = context.isolateStatics; }
ngeoffray 2012/03/11 15:43:54 That's the Frog specific implementation.
// Wrap a 0-arg dom-callback to bind it with the current isolate:
function $wrap_call$0(fn) { return fn && fn.wrap$call$0(); }

Powered by Google App Engine
This is Rietveld 408576698