Index: sdk/lib/_internal/js_runtime/lib/io_patch.dart |
diff --git a/sdk/lib/_internal/js_runtime/lib/io_patch.dart b/sdk/lib/_internal/js_runtime/lib/io_patch.dart |
index 23f4708da2ff1947ca20b0d23ed5c40705ac5efb..7a8445a57ad7b88913eef3e64995a17fc41bf43d 100644 |
--- a/sdk/lib/_internal/js_runtime/lib/io_patch.dart |
+++ b/sdk/lib/_internal/js_runtime/lib/io_patch.dart |
@@ -229,8 +229,12 @@ class _Platform { |
throw new UnsupportedError("Platform._executableArguments"); |
} |
@patch |
- static String _packageRoot() { |
- throw new UnsupportedError("Platform._packageRoot"); |
+ static Future<Uri> get packageRoot { |
+ throw new UnsupportedError("Platform.packageRoot"); |
+ } |
+ @patch |
+ static Future<Map<String, Uri>> get packageMap { |
+ throw new UnsupportedError("Platform.packageMap"); |
} |
@patch |
static _environment() { |