Index: mojo/common/handle_watcher.cc |
diff --git a/mojo/common/handle_watcher.cc b/mojo/common/handle_watcher.cc |
index eeb3e043b4e3d7f41105d408f1d16fbfd2730fec..53ac607344107a7e07e56b6ca5e903c5dedb99cf 100644 |
--- a/mojo/common/handle_watcher.cc |
+++ b/mojo/common/handle_watcher.cc |
@@ -123,6 +123,7 @@ void WatcherBackend::RemoveAndNotify(const Handle& handle, |
const WatchData data(handle_to_data_[handle]); |
handle_to_data_.erase(handle); |
MessagePumpMojo::current()->RemoveHandler(handle); |
+ |
data.message_loop->PostTask(FROM_HERE, base::Bind(data.callback, result)); |
} |