From a021b2e246b164ef6a4911d79d38df0fd14fd38b Mon Sep 17 00:00:00 2001 From: "dimich@google.com" Date: Fri, 17 Jul 2009 18:35:16 +0000 Subject: Remove 6- and 7-parameter IPC message macros. Replace with a struct that packs parameters. BUG=16685 TEST=none Review URL: http://codereview.chromium.org/149775 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20980 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/worker/webworkerclient_proxy.cc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'chrome/worker') diff --git a/chrome/worker/webworkerclient_proxy.cc b/chrome/worker/webworkerclient_proxy.cc index 84cf05f..b22428c 100644 --- a/chrome/worker/webworkerclient_proxy.cc +++ b/chrome/worker/webworkerclient_proxy.cc @@ -98,9 +98,15 @@ void WebWorkerClientProxy::postConsoleMessageToWorkerObject( const WebString& message, int line_number, const WebString& source_url) { - Send(new WorkerHostMsg_PostConsoleMessageToWorkerObject( - route_id_, destination, source, type, level, - message, line_number, source_url)); + WorkerHostMsg_PostConsoleMessageToWorkerObject_Params params; + params.destination_identifier = destination; + params.source_identifier = source; + params.message_type = type; + params.message_level = level; + params.message = message; + params.line_number = line_number; + params.source_url = source_url; + Send(new WorkerHostMsg_PostConsoleMessageToWorkerObject(route_id_, params)); } void WebWorkerClientProxy::confirmMessageFromWorkerObject( -- cgit v1.1