Index: sdk/lib/io/platform_impl.dart |
diff --git a/sdk/lib/io/platform_impl.dart b/sdk/lib/io/platform_impl.dart |
index f4d7a247dfa78e0086ff9e91ce6c9e22e7a10106..d7e722f22d07cb183201a1265159e18aeeb95707 100644 |
--- a/sdk/lib/io/platform_impl.dart |
+++ b/sdk/lib/io/platform_impl.dart |
@@ -46,20 +46,6 @@ class _Platform { |
static String get operatingSystem => _operatingSystem(); |
static Uri script; |
- // This script singleton is written to by the embedder if applicable. |
- static void set _nativeScript(String path) { |
- if (path.startsWith('http:') || |
- path.startsWith('https:') || |
- path.startsWith('package:') || |
- path.startsWith('dart:') || |
- path.startsWith('data:') || |
- path.startsWith('file:')) { |
- script = Uri.parse(path); |
- } else { |
- script = Uri.base.resolveUri(new Uri.file(path)); |
- } |
- } |
- |
static String get localHostname { |
var result = _localHostname(); |
if (result is OSError) { |