Index: base/message_loop/message_pump_win.cc |
diff --git a/base/message_loop/message_pump_win.cc b/base/message_loop/message_pump_win.cc |
index ad422260364db3f31f4c114eeb5511c27cc10579..ad89b7f638461542a3e5b588110cd8849fa3bd91 100644 |
--- a/base/message_loop/message_pump_win.cc |
+++ b/base/message_loop/message_pump_win.cc |
@@ -421,7 +421,7 @@ void MessagePumpForIO::ScheduleWork() { |
return; // Someone else continued the pumping. |
// Make sure the MessagePump does some work for us. |
- BOOL ret = PostQueuedCompletionStatus(port_, 0, |
+ BOOL ret = PostQueuedCompletionStatus(port_.Get(), 0, |
reinterpret_cast<ULONG_PTR>(this), |
reinterpret_cast<OVERLAPPED*>(this)); |
if (ret) |
@@ -443,7 +443,7 @@ void MessagePumpForIO::ScheduleDelayedWork(const TimeTicks& delayed_work_time) { |
void MessagePumpForIO::RegisterIOHandler(HANDLE file_handle, |
IOHandler* handler) { |
ULONG_PTR key = HandlerToKey(handler, true); |
- HANDLE port = CreateIoCompletionPort(file_handle, port_, key, 1); |
+ HANDLE port = CreateIoCompletionPort(file_handle, port_.Get(), key, 1); |
DPCHECK(port); |
} |
@@ -455,7 +455,7 @@ bool MessagePumpForIO::RegisterJobObject(HANDLE job_handle, |
ULONG_PTR key = HandlerToKey(handler, false); |
JOBOBJECT_ASSOCIATE_COMPLETION_PORT info; |
info.CompletionKey = reinterpret_cast<void*>(key); |
- info.CompletionPort = port_; |
+ info.CompletionPort = port_.Get(); |
return SetInformationJobObject(job_handle, |
JobObjectAssociateCompletionPortInformation, |
&info, |