Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1678)

Unified Diff: content/worker/worker_webapplicationcachehost_impl.cc

Issue 8399007: Removing dedicated worker-related IPC codei (first round). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: CR feedback Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/worker/worker_webapplicationcachehost_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « content/worker/worker_webapplicationcachehost_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698