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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 2983813002: Add hook to register global object (Closed)
Patch Set: Rebase Created 3 years, 5 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:
Download patch
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/js_helper.dart ('k') | tools/dom/src/dart2js_DOMImplementation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index be9e0b22d57ba5b51348df84d142996cc496d165..4309803236d6a01f994c0cf3724f397906411422 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -63,7 +63,8 @@ import 'dart:_js_helper'
ForceInline,
findDispatchTagForInterceptorClass,
setNativeSubclassDispatchRecord,
- makeLeafDispatchRecord;
+ makeLeafDispatchRecord,
+ registerGlobalObject;
import 'dart:_interceptors'
show
Interceptor,
@@ -45872,6 +45873,7 @@ class _DOMWindowCrossFrame implements WindowBase {
return w;
} else {
// TODO(vsm): Cache or implement equality.
+ registerGlobalObject(w);
return new _DOMWindowCrossFrame(w);
}
}
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/js_helper.dart ('k') | tools/dom/src/dart2js_DOMImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698