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-10-10 01:04:48 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-10 01:04:48 +0000
commit18bdd9f5eb65b0979fe6ef610aeede9bc32b1e5a (patch)
tree98b04a0f1e64dcdcbad7123e7dcce49d7cc93546 /chrome/renderer/webworker_proxy.h
parentf5857bc22887f8bffe9fb3135768aa0286a927eb (diff)
downloadchromium_src-18bdd9f5eb65b0979fe6ef610aeede9bc32b1e5a.zip
chromium_src-18bdd9f5eb65b0979fe6ef610aeede9bc32b1e5a.tar.gz
chromium_src-18bdd9f5eb65b0979fe6ef610aeede9bc32b1e5a.tar.bz2
Fix another race condition on worker process shutdown that results in use-after-free. Like 23018, this is happening because valgrind is slowing the worker thread shutdown enough that the backup terminate process code executes.
BUG=24346 TEST=covered by valgrind Review URL: http://codereview.chromium.org/266036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28646 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/webworker_proxy.h')
-rw-r--r--chrome/renderer/webworker_proxy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/renderer/webworker_proxy.h b/chrome/renderer/webworker_proxy.h
index d47f3fb..8c53a67 100644
--- a/chrome/renderer/webworker_proxy.h
+++ b/chrome/renderer/webworker_proxy.h
@@ -38,6 +38,7 @@ class WebWorkerProxy : public WebKit::WebWorker,
const WebKit::WebString& message,
const WebKit::WebMessagePortChannelArray& channel_array);
virtual void workerObjectDestroyed();
+ virtual void clientDestroyed();
// IPC::Channel::Listener implementation.
void OnMessageReceived(const IPC::Message& message);