summaryrefslogtreecommitdiffstats
path: root/chrome/worker
diff options
context:
space:
mode:
authordimich@google.com <dimich@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 18:35:16 +0000
committerdimich@google.com <dimich@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 18:35:16 +0000
commita021b2e246b164ef6a4911d79d38df0fd14fd38b (patch)
treef4fd62c0b53caa886de5d2c94c75b7a5abd55e44 /chrome/worker
parentff9b3fd329d6660386ea34be83441e477e682ca9 (diff)
downloadchromium_src-a021b2e246b164ef6a4911d79d38df0fd14fd38b.zip
chromium_src-a021b2e246b164ef6a4911d79d38df0fd14fd38b.tar.gz
chromium_src-a021b2e246b164ef6a4911d79d38df0fd14fd38b.tar.bz2
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
Diffstat (limited to 'chrome/worker')
-rw-r--r--chrome/worker/webworkerclient_proxy.cc12
1 files changed, 9 insertions, 3 deletions
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(