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

Unified Diff: chrome/browser/automation/extension_port_container.cc

Issue 4343002: A recent change (r64277) added an extra argument to Port.dispatchOnDisconnect... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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: chrome/browser/automation/extension_port_container.cc
===================================================================
--- chrome/browser/automation/extension_port_container.cc (revision 64758)
+++ chrome/browser/automation/extension_port_container.cc (working copy)
@@ -119,7 +119,7 @@
if (args.GetString(0, &message) && args.GetInteger(1, &source_port_id))
OnExtensionHandleMessage(message, source_port_id);
} else if (function_name == ExtensionMessageService::kDispatchOnDisconnect) {
- DCHECK_EQ(args.GetSize(), 1u);
+ DCHECK_EQ(args.GetSize(), 2u);
int port_id;
if (args.GetInteger(0, &port_id))
OnExtensionPortDisconnected(port_id);
« 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