summaryrefslogtreecommitdiffstats
path: root/chrome/worker/worker_thread.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-20 23:17:09 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-20 23:17:09 +0000
commit3362262e25c76beabd31a5e7e3e2cfedfe1f5ac1 (patch)
treea4a7d0678c37a6661b08a31911fd209531a3bd75 /chrome/worker/worker_thread.cc
parent30c473ac6ffeabd6ba09b3710323817636f30719 (diff)
downloadchromium_src-3362262e25c76beabd31a5e7e3e2cfedfe1f5ac1.zip
chromium_src-3362262e25c76beabd31a5e7e3e2cfedfe1f5ac1.tar.gz
chromium_src-3362262e25c76beabd31a5e7e3e2cfedfe1f5ac1.tar.bz2
Fix threading and ownership issues in WebWorkerClientProxy.
Review URL: http://codereview.chromium.org/42469 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12230 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/worker/worker_thread.cc')
-rw-r--r--chrome/worker/worker_thread.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/worker/worker_thread.cc b/chrome/worker/worker_thread.cc
index c48eae0..8091dbf 100644
--- a/chrome/worker/worker_thread.cc
+++ b/chrome/worker/worker_thread.cc
@@ -42,5 +42,6 @@ void WorkerThread::OnControlMessageReceived(const IPC::Message& msg) {
}
void WorkerThread::OnCreateWorker(const GURL& url, int route_id) {
+ // WebWorkerClientProxy owns itself.
WebWorkerClientProxy* worker = new WebWorkerClientProxy(url, route_id);
}