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

Unified Diff: sdk/lib/_internal/compiler/js_lib/convert_patch.dart

Issue 791323003: - Allow implementations to hook into the Utf8Decoder.convert method. (Closed) Base URL: http://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 | « runtime/lib/convert_patch.dart ('k') | sdk/lib/convert/utf.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/js_lib/convert_patch.dart
===================================================================
--- sdk/lib/_internal/compiler/js_lib/convert_patch.dart (revision 43026)
+++ sdk/lib/_internal/compiler/js_lib/convert_patch.dart (working copy)
@@ -400,4 +400,11 @@
Converter<List<int>,dynamic> fuse(Converter<String, dynamic> next) {
return super.fuse(next);
}
+
+ // Currently not intercepting UTF8 decoding.
+ @patch
+ static String _convertIntercepted(bool allowMalformed, List<int> codeUnits,
+ int start, int end) {
+ return null; // This call was not intercepted.
+ }
}
« no previous file with comments | « runtime/lib/convert_patch.dart ('k') | sdk/lib/convert/utf.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698