summaryrefslogtreecommitdiffstats
path: root/content/browser/shared_worker/shared_worker_host.cc
diff options
context:
space:
mode:
authorhoro@chromium.org <horo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-13 05:16:01 +0000
committerhoro@chromium.org <horo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-13 05:16:01 +0000
commit3efa9da0caa0c5083092447c5a4884a553d7e6de (patch)
treec5465a6a0e87dfc367824e60ab4a74dc7f341e0e /content/browser/shared_worker/shared_worker_host.cc
parentcebea66620040c8eba07aa5bae579a413c159d1a (diff)
downloadchromium_src-3efa9da0caa0c5083092447c5a4884a553d7e6de.zip
chromium_src-3efa9da0caa0c5083092447c5a4884a553d7e6de.tar.gz
chromium_src-3efa9da0caa0c5083092447c5a4884a553d7e6de.tar.bz2
Add SharedWorkerServiceImpl::CheckWorkerDependency().
This method checks the worker dependency of renderer processes and calls IncrementWorkerRefCount and DecrementWorkerRefCount of RenderProcessHostImpl on UI thread if necessary. The old cl (http://crrev.com/256305) was reverted (http://crrev.com/256323) because of the memory leak in MockMessagePortMessageFilter::Send and MockSharedWorkerMessageFilter::Send. This cl has fixed it. The difference between this cl and the old cl is the null value handling of message_queue_ in MockMessagePortMessageFilter::Send and MockSharedWorkerMessageFilter::Send. BUG=327256,351492 TBR=jochen@chromium.org Review URL: https://codereview.chromium.org/196483003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256749 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/shared_worker/shared_worker_host.cc')
-rw-r--r--content/browser/shared_worker/shared_worker_host.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/content/browser/shared_worker/shared_worker_host.cc b/content/browser/shared_worker/shared_worker_host.cc
index ac1d606..eb58399 100644
--- a/content/browser/shared_worker/shared_worker_host.cc
+++ b/content/browser/shared_worker/shared_worker_host.cc
@@ -137,7 +137,6 @@ void SharedWorkerHost::WorkerContextDestroyed() {
void SharedWorkerHost::WorkerScriptLoaded() {
// TODO(horo): implement this.
- NOTIMPLEMENTED();
}
void SharedWorkerHost::WorkerScriptLoadFailed() {