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

Unified Diff: lib/runtime/dart/convert.js

Issue 1117373002: fixes #147, add more cases to isStateless (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 8 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 | « lib/runtime/dart/collection.js ('k') | lib/src/codegen/side_effect_analysis.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/convert.js
diff --git a/lib/runtime/dart/convert.js b/lib/runtime/dart/convert.js
index 52a4cbda25730bea021ede93c66604d894d90cf2..dfe5326b93a2ecbf4e87985431679e8ab0299169 100644
--- a/lib/runtime/dart/convert.js
+++ b/lib/runtime/dart/convert.js
@@ -1575,7 +1575,7 @@ var convert;
return new _Utf8StringSinkAdapter(this, this[_stringSink], allowMalformed);
}
asStringSink() {
- return new ClosableStringSink.fromStringSink(this[_stringSink], dart.bind(this, 'close'));
+ return new ClosableStringSink.fromStringSink(this[_stringSink], this.close.bind(this));
}
}
class _StringCallbackSink extends _StringSinkConversionSink {
« no previous file with comments | « lib/runtime/dart/collection.js ('k') | lib/src/codegen/side_effect_analysis.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698