| Index: runtime/bin/platform_win.cc
|
| diff --git a/runtime/bin/platform_win.cc b/runtime/bin/platform_win.cc
|
| index 8ec32d24e1d9c23cf1d493f5dc3e2689692eab76..75711325e107ffcd5a4e50ddf6e270cc71da0f19 100644
|
| --- a/runtime/bin/platform_win.cc
|
| +++ b/runtime/bin/platform_win.cc
|
| @@ -212,7 +212,7 @@ bool Platform::LocalHostname(char* buffer, intptr_t buffer_length) {
|
| #if defined(DART_IO_DISABLED) || defined(PLATFORM_DISABLE_SOCKET)
|
| return false;
|
| #else
|
| - if (!Socket::Initialize()) {
|
| + if (!SocketBase::Initialize()) {
|
| return false;
|
| }
|
| return gethostname(buffer, buffer_length) == 0;
|
|
|