Index: runtime/bin/eventhandler_win.cc |
diff --git a/runtime/bin/eventhandler_win.cc b/runtime/bin/eventhandler_win.cc |
index b30514f92d8f94b911165bfa85b54d12660666a0..87706e83820b4d017fd2c2e1aa3dd08df94d9834 100644 |
--- a/runtime/bin/eventhandler_win.cc |
+++ b/runtime/bin/eventhandler_win.cc |
@@ -97,28 +97,30 @@ int IOBuffer::GetRemainingLength() { |
Handle::Handle(HANDLE handle) |
: handle_(reinterpret_cast<HANDLE>(handle)), |
- flags_(0), |
port_(0), |
+ mask_(0), |
completion_port_(INVALID_HANDLE_VALUE), |
event_handler_(NULL), |
data_ready_(NULL), |
pending_read_(NULL), |
pending_write_(NULL), |
- last_error_(NOERROR) { |
+ last_error_(NOERROR), |
+ flags_(0) { |
InitializeCriticalSection(&cs_); |
} |
Handle::Handle(HANDLE handle, Dart_Port port) |
: handle_(reinterpret_cast<HANDLE>(handle)), |
- flags_(0), |
port_(port), |
+ mask_(0), |
completion_port_(INVALID_HANDLE_VALUE), |
event_handler_(NULL), |
data_ready_(NULL), |
pending_read_(NULL), |
pending_write_(NULL), |
- last_error_(NOERROR) { |
+ last_error_(NOERROR), |
+ flags_(0) { |
InitializeCriticalSection(&cs_); |
} |