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

Unified Diff: content/browser/shared_worker/shared_worker_service_impl_unittest.cc

Issue 292443004: Remove IPC_BEGIN_MESSAGE_MAP_EX macro since r270839 made all bad IPCs kill their child processes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 7 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
Index: content/browser/shared_worker/shared_worker_service_impl_unittest.cc
===================================================================
--- content/browser/shared_worker/shared_worker_service_impl_unittest.cc (revision 271040)
+++ content/browser/shared_worker/shared_worker_service_impl_unittest.cc (working copy)
@@ -187,10 +187,8 @@
bool OnMessageReceived(IPC::Message* message) {
scoped_ptr<IPC::Message> msg(message);
- bool message_was_ok = false;
- const bool ret =
- message_filter_->OnMessageReceived(*message, &message_was_ok) ||
- worker_filter_->OnMessageReceived(*message, &message_was_ok);
+ const bool ret = message_filter_->OnMessageReceived(*message) ||
+ worker_filter_->OnMessageReceived(*message);
if (message->is_sync()) {
CHECK(!queued_messages_.empty());
const IPC::Message* response_msg = queued_messages_.back();

Powered by Google App Engine
This is Rietveld 408576698