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

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

Issue 871003002: dart2js: fix csp mode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 587aa9c3dbcacaf43709dec22563a6a90919ccbc..98308123d2861f962e207fd773d45dbe0015988b 100644
--- a/pkg/compiler/lib/src/js_emitter/native_emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/native_emitter.dart
@@ -243,7 +243,7 @@ class NativeEmitter {
ClassElement classElement = cls.element;
if (!cls.isNative) continue;
if (neededClasses.contains(cls)) {
- ClassBuilder builder = builders[classElement];
+ ClassBuilder builder = builders[cls];
// In CSP mode [emitClassConstructor] and [emitClassGettersSetters] have
// a side-effect on "precompiled" functions in [OldEmitter]. For this
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698