Fixed incorrect call to get a StdHandle in socket_base_win.cc caused by a bad rebase.

TBR=zra@google.com

BUG=

Review-Url: https://codereview.chromium.org/2797323002 .
This commit is contained in:
Ben Konyi
2017-04-05 13:09:45 -07:00
parent adce9b982a
commit a89332d0f6
+2 -1
View File
@@ -174,7 +174,8 @@ intptr_t SocketBase::GetStdioHandle(intptr_t num) {
if (handle == INVALID_HANDLE_VALUE) {
return -1;
}
StdHandle* std_handle = new StdHandle(handle);
StdHandle* std_handle = StdHandle::Stdin(handle);
std_handle->Retain();
std_handle->MarkDoesNotSupportOverlappedIO();
std_handle->EnsureInitialized(EventHandler::delegate());
return reinterpret_cast<intptr_t>(std_handle);