Index: content/worker/worker_webapplicationcachehost_impl.cc |
diff --git a/content/worker/worker_webapplicationcachehost_impl.cc b/content/worker/worker_webapplicationcachehost_impl.cc |
index 734302c5737aad354585907ee70fa99575826859..0ed16e5d264598db7ea446412d43b485009b35e2 100644 |
--- a/content/worker/worker_webapplicationcachehost_impl.cc |
+++ b/content/worker/worker_webapplicationcachehost_impl.cc |
@@ -12,13 +12,8 @@ WorkerWebApplicationCacheHostImpl::WorkerWebApplicationCacheHostImpl( |
WebKit::WebApplicationCacheHostClient* client) |
: WebApplicationCacheHostImpl(client, |
WorkerThread::current()->appcache_dispatcher()->backend_proxy()) { |
- if (init_info.is_shared_worker) |
- backend()->SelectCacheForSharedWorker(host_id(), |
+ backend()->SelectCacheForSharedWorker(host_id(), |
init_info.main_resource_appcache_id); |
- else |
- backend()->SelectCacheForWorker(host_id(), |
- init_info.parent_process_id, |
- init_info.parent_appcache_host_id); |
} |
void WorkerWebApplicationCacheHostImpl::willStartMainResourceRequest( |