summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/webworker_proxy.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-05 20:11:13 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-05 20:11:13 +0000
commit0e1e30e2f72e301d808a841128cb14e936748b95 (patch)
tree5c76d493079336d5dbef73a7ddbf06f81c59d5e8 /chrome/renderer/webworker_proxy.h
parent9be7801f04c10701bebea2d721eb6441b18c0ecf (diff)
downloadchromium_src-0e1e30e2f72e301d808a841128cb14e936748b95.zip
chromium_src-0e1e30e2f72e301d808a841128cb14e936748b95.tar.gz
chromium_src-0e1e30e2f72e301d808a841128cb14e936748b95.tar.bz2
Have WebWorkerProxy send messages directly through RenderThread, instead of RenderWidget, since that could lead to the terminateworker message being dropped.
Review URL: http://codereview.chromium.org/39176 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11021 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/webworker_proxy.h')
-rw-r--r--chrome/renderer/webworker_proxy.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/renderer/webworker_proxy.h b/chrome/renderer/webworker_proxy.h
index 6967ea0..97a6bb3 100644
--- a/chrome/renderer/webworker_proxy.h
+++ b/chrome/renderer/webworker_proxy.h
@@ -24,7 +24,7 @@ class Message;
class WebWorkerProxy : public WebWorker,
public IPC::Channel::Listener {
public:
- WebWorkerProxy(IPC::Message::Sender* sender, WebWorkerClient* client);
+ WebWorkerProxy(WebWorkerClient* client);
virtual ~WebWorkerProxy();
// WebWorker implementation.
@@ -43,7 +43,6 @@ class WebWorkerProxy : public WebWorker,
private:
bool Send(IPC::Message* message);
- IPC::Message::Sender* sender_;
int route_id_;
// Used to communicate to the WebCore::Worker object in response to IPC