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

Unified Diff: runtime/bin/file_unsupported.cc

Issue 2698813002: [dart:io][windows] Make unicode characters display correctly. (Closed)
Patch Set: Make tests pass Created 3 years, 10 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: runtime/bin/file_unsupported.cc
diff --git a/runtime/bin/file_unsupported.cc b/runtime/bin/file_unsupported.cc
index 9196c22b0710fc205359fcd8e64093997a443a44..e64524d811efbd8ee35baa35a482caba10051391 100644
--- a/runtime/bin/file_unsupported.cc
+++ b/runtime/bin/file_unsupported.cc
@@ -24,6 +24,12 @@ void FUNCTION_NAME(File_SetPointer)(Dart_NativeArguments args) {
}
+void FUNCTION_NAME(File_SetTranslation)(Dart_NativeArguments args) {
+ Dart_ThrowException(
+ DartUtils::NewInternalError("File is not supported on this platform"));
+}
+
+
void FUNCTION_NAME(File_Open)(Dart_NativeArguments args) {
Dart_ThrowException(
DartUtils::NewInternalError("File is not supported on this platform"));

Powered by Google App Engine
This is Rietveld 408576698