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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user