| Index: runtime/bin/eventhandler_win.h
|
| diff --git a/runtime/bin/eventhandler_win.h b/runtime/bin/eventhandler_win.h
|
| index 81d436fd482068b1c9cc76018e0e9abaad9619be..4bac8f4f29cc2d3b88c1951219da6ac478be0570 100644
|
| --- a/runtime/bin/eventhandler_win.h
|
| +++ b/runtime/bin/eventhandler_win.h
|
| @@ -228,8 +228,7 @@ class Handle {
|
| void Lock();
|
| void Unlock();
|
|
|
| - bool DoCreateCompletionPort(HANDLE handle, HANDLE completion_port);
|
| - virtual bool CreateCompletionPort(HANDLE completion_port);
|
| + bool CreateCompletionPort(HANDLE completion_port);
|
|
|
| void Close();
|
| virtual void DoClose();
|
| @@ -364,14 +363,12 @@ class SocketHandle : public Handle {
|
| public:
|
| SOCKET socket() const { return socket_; }
|
|
|
| - virtual bool CreateCompletionPort(HANDLE completion_port);
|
| -
|
| protected:
|
| explicit SocketHandle(SOCKET s)
|
| - : Handle(INVALID_HANDLE_VALUE),
|
| + : Handle(reinterpret_cast<HANDLE>(s)),
|
| socket_(s) {}
|
| SocketHandle(SOCKET s, Dart_Port port)
|
| - : Handle(INVALID_HANDLE_VALUE, port),
|
| + : Handle(reinterpret_cast<HANDLE>(s), port),
|
| socket_(s) {}
|
|
|
| virtual void HandleIssueError();
|
|
|