Index: runtime/bin/socket_patch.dart |
diff --git a/runtime/bin/socket_patch.dart b/runtime/bin/socket_patch.dart |
index 7de16a988220aabbdf9a312d67c6494acc59479e..09904b433de13c0144bcca0949fc509ab205b187 100644 |
--- a/runtime/bin/socket_patch.dart |
+++ b/runtime/bin/socket_patch.dart |
@@ -932,9 +932,9 @@ class _NativeSocket extends _NativeSocketNativeWrapper with _ServiceObject { |
eventPort = new RawReceivePort(multiplex); |
} |
if (!connectedResourceHandler) { |
- registerExtension('__getOpenSockets', |
+ registerExtension('ext.dart.io.getOpenSockets', |
_SocketResourceInfo.getOpenSockets); |
- registerExtension('__getSocketByID', |
+ registerExtension('ext.dart.io.getSocketByID', |
_SocketResourceInfo.getSocketInfoMapByID); |
connectedResourceHandler = true; |