Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Unified Diff: ipc/ipc_sync_channel.cc

Issue 279002: The send done event in the old send watcher can be NULL as it can be signaled... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_sync_channel.cc
===================================================================
--- ipc/ipc_sync_channel.cc (revision 28967)
+++ ipc/ipc_sync_channel.cc (working copy)
@@ -468,7 +468,7 @@
MessageLoop::current()->SetNestableTasksAllowed(old_state);
sync_msg_queue->set_top_send_done_watcher(old_send_done_event_watcher);
- if (old_send_done_event_watcher) {
+ if (old_send_done_event_watcher && old_event) {
old_send_done_event_watcher->StartWatching(old_event, old_delegate);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698