diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-10 01:04:48 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-10 01:04:48 +0000 |
commit | 18bdd9f5eb65b0979fe6ef610aeede9bc32b1e5a (patch) | |
tree | 98b04a0f1e64dcdcbad7123e7dcce49d7cc93546 /webkit/tools/test_shell | |
parent | f5857bc22887f8bffe9fb3135768aa0286a927eb (diff) | |
download | chromium_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 'webkit/tools/test_shell')
-rw-r--r-- | webkit/tools/test_shell/test_web_worker.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_web_worker.h b/webkit/tools/test_shell/test_web_worker.h index 2adcb42..2aa1a2a 100644 --- a/webkit/tools/test_shell/test_web_worker.h +++ b/webkit/tools/test_shell/test_web_worker.h @@ -42,6 +42,8 @@ class TestWebWorker : public WebKit::WebWorker, virtual void workerObjectDestroyed() { Release(); // Releases the reference held for worker object. } + virtual void clientDestroyed() { + } // WebWorkerClient methods: virtual void postMessageToWorkerObject( |