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

Unified Diff: pkg/compiler/lib/src/js_emitter/native_emitter.dart

Issue 1421003004: Add CoreClasses (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comment. Created 5 years, 2 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/native_emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/native_emitter.dart b/pkg/compiler/lib/src/js_emitter/native_emitter.dart
index fa590a4c709c20d24e66d19077e17ae77db4eec6..5a521f3779648cd7405bf0b2bae366e6f715e24a 100644
--- a/pkg/compiler/lib/src/js_emitter/native_emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/native_emitter.dart
@@ -86,7 +86,7 @@ class NativeEmitter {
Class jsInterceptorClass = null;
void walk(Class cls) {
- if (cls.element == compiler.objectClass) {
+ if (cls.element == compiler.coreClasses.objectClass) {
objectClass = cls;
return;
}

Powered by Google App Engine
This is Rietveld 408576698