| 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 cb68a24d74a2979ece7ef57076a80e27ac3d788c..836c1d111b094a06cc35598bd5ad72e61e152f3c 100644
|
| --- a/base/message_loop/message_pump_win.cc
|
| +++ b/base/message_loop/message_pump_win.cc
|
| @@ -552,10 +552,8 @@ bool MessagePumpForIO::WaitForIOCompletion(DWORD timeout, IOHandler* filter) {
|
| } else {
|
| DCHECK(!item.has_valid_io_context ||
|
| (item.context->handler == item.handler));
|
| - WillProcessIOEvent();
|
| item.handler->OnIOCompleted(item.context, item.bytes_transfered,
|
| item.error);
|
| - DidProcessIOEvent();
|
| }
|
| } else {
|
| // The handler must be gone by now, just cleanup the mess.
|
| @@ -607,22 +605,6 @@ bool MessagePumpForIO::MatchCompletedIOItem(IOHandler* filter, IOItem* item) {
|
| return false;
|
| }
|
|
|
| -void MessagePumpForIO::AddIOObserver(IOObserver *obs) {
|
| - io_observers_.AddObserver(obs);
|
| -}
|
| -
|
| -void MessagePumpForIO::RemoveIOObserver(IOObserver *obs) {
|
| - io_observers_.RemoveObserver(obs);
|
| -}
|
| -
|
| -void MessagePumpForIO::WillProcessIOEvent() {
|
| - FOR_EACH_OBSERVER(IOObserver, io_observers_, WillProcessIOEvent());
|
| -}
|
| -
|
| -void MessagePumpForIO::DidProcessIOEvent() {
|
| - FOR_EACH_OBSERVER(IOObserver, io_observers_, DidProcessIOEvent());
|
| -}
|
| -
|
| // static
|
| ULONG_PTR MessagePumpForIO::HandlerToKey(IOHandler* handler,
|
| bool has_valid_io_context) {
|
|
|