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

Unified Diff: chrome/renderer/webworker_proxy.cc

Issue 509016: Refactored code to allow associating workers with multiple renderers. (Closed)
Patch Set: Disabled overly-aggressive assertion in ResourceDispatcherHost. Created 10 years, 11 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 | « chrome/renderer/webworker_base.cc ('k') | chrome/test/data/workers/shared_worker_auth.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/webworker_proxy.cc
diff --git a/chrome/renderer/webworker_proxy.cc b/chrome/renderer/webworker_proxy.cc
index fdcc9f1d0dc55b2be736363c66743d75a5ea2f1e..553a3ac4241cb9eaa5dfdf1917ef1b491ac55a08 100644
--- a/chrome/renderer/webworker_proxy.cc
+++ b/chrome/renderer/webworker_proxy.cc
@@ -22,8 +22,10 @@ WebWorkerProxy::WebWorkerProxy(
WebWorkerClient* client,
ChildThread* child_thread,
int render_view_route_id)
- : WebWorkerBase(child_thread, MSG_ROUTING_NONE, render_view_route_id),
+ : WebWorkerBase(child_thread, 0, MSG_ROUTING_NONE, render_view_route_id),
client_(client) {
+ // TODO(atwilson): Change to pass in a real document_id when we support nested
+ // workers.
}
WebWorkerProxy::~WebWorkerProxy() {
« no previous file with comments | « chrome/renderer/webworker_base.cc ('k') | chrome/test/data/workers/shared_worker_auth.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698