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

Unified Diff: runtime/bin/platform.cc

Issue 2791453002: Revert "[dart:io] Adds Platform.localeName" (Closed)
Patch Set: Created 3 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
« no previous file with comments | « runtime/bin/platform.h ('k') | runtime/bin/platform_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/platform.cc
diff --git a/runtime/bin/platform.cc b/runtime/bin/platform.cc
index bfe107fc1a6068db0c698b153ee33fce9edd7016..e8b7849147fff3ce403f356381af03ea9930b864 100644
--- a/runtime/bin/platform.cc
+++ b/runtime/bin/platform.cc
@@ -109,16 +109,6 @@ void FUNCTION_NAME(Platform_GetVersion)(Dart_NativeArguments args) {
Dart_SetReturnValue(args, Dart_NewStringFromCString(Dart_VersionString()));
}
-
-void FUNCTION_NAME(Platform_LocaleName)(Dart_NativeArguments args) {
- const char* locale = Platform::LocaleName();
- if (locale == NULL) {
- Dart_SetReturnValue(args, DartUtils::NewDartOSError());
- } else {
- Dart_SetReturnValue(args, Dart_NewStringFromCString(locale));
- }
-}
-
} // namespace bin
} // namespace dart
« no previous file with comments | « runtime/bin/platform.h ('k') | runtime/bin/platform_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698