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

Unified Diff: lib/compiler/implementation/native_emitter.dart

Issue 9921010: Address review comments from: https://chromiumcodereview.appspot.com/9750003. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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: lib/compiler/implementation/native_emitter.dart
===================================================================
--- lib/compiler/implementation/native_emitter.dart (revision 5968)
+++ lib/compiler/implementation/native_emitter.dart (working copy)
@@ -331,7 +331,7 @@
}
}
- void assembleCode(StringBuffer other) {
+ void assembleCode(StringBuffer targetBuffer) {
if (nativeClasses.isEmpty()) return;
// Because of native classes, we have to generate some is checks
@@ -351,6 +351,6 @@
'function() { return $toStringHelperName(this); });\n');
// Finally, emit the code in the main buffer.
- other.add('(function() {\n$objectProperties$buffer\n})();\n');
+ targetBuffer.add('(function() {\n$objectProperties$buffer\n})();\n');
}
}

Powered by Google App Engine
This is Rietveld 408576698