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

Unified Diff: pkg/compiler/lib/src/js_emitter/full_emitter/interceptor_emitter.dart

Issue 2935663002: Remove Compiler.commonElements (Closed)
Patch Set: Remove Compiler._commonElements Created 3 years, 6 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: pkg/compiler/lib/src/js_emitter/full_emitter/interceptor_emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/interceptor_emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/interceptor_emitter.dart
index 66e880b7f27ed60e9b7ca3304352d25d4828404f..dab39d956af7b3c3aae22c8e5f08cb8a93a94e56 100644
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/interceptor_emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/interceptor_emitter.dart
@@ -29,7 +29,7 @@ class InterceptorEmitter extends CodeEmitterHelper {
jsAst.Name key, Set<ClassEntity> classes) {
InterceptorStubGenerator stubGenerator = new InterceptorStubGenerator(
compiler.options,
- compiler.commonElements,
+ closedWorld.commonElements,
backend.emitter,
backend.nativeCodegenEnqueuer,
namer,

Powered by Google App Engine
This is Rietveld 408576698