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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart

Issue 24267004: Emit CSP code in separate file. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Make tests pass Created 7 years, 3 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: dart/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart b/dart/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart
index 67401f6bd0cc1c5eb76ab6fc2ce57b30a7d367c2..1153082b60f4f705875a3ed05f2759fa59bd027d 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart
@@ -339,7 +339,7 @@ class NativeEmitter {
String superName = backend.namer.getNameOfClass(superclass);
ClassBuilder builder = new ClassBuilder();
- emitter.emitClassConstructor(classElement, builder);
+ emitter.emitClassConstructor(classElement, builder, null);
emitter.emitSuper(superName, builder);
bool hasFields = emitter.emitFields(
classElement, builder, superName, classIsNative: true);

Powered by Google App Engine
This is Rietveld 408576698