Index: mojo/common/handle_watcher.cc |
diff --git a/mojo/common/handle_watcher.cc b/mojo/common/handle_watcher.cc |
index e8df765206efe10f5b9d4c5bf19da59291d20eab..f99a273a2a51e645c9ca71bcc280242ea836b0cd 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)); |
} |