diff options
-rw-r--r-- | chrome/browser/worker_host/worker_process_host.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/worker_host/worker_process_host.cc b/chrome/browser/worker_host/worker_process_host.cc index 4f6d5ae..9dbfe05 100644 --- a/chrome/browser/worker_host/worker_process_host.cc +++ b/chrome/browser/worker_host/worker_process_host.cc @@ -287,7 +287,8 @@ void WorkerProcessHost::RelayMessage( &message, &msg, &sent_message_port_ids, &new_routing_ids)) { return; } - DCHECK(sent_message_port_ids.size() == new_routing_ids.size()); + if (sent_message_port_ids.size() != new_routing_ids.size()) + return; for (size_t i = 0; i < sent_message_port_ids.size(); ++i) { new_routing_ids[i] = next_route_id->Run(); |