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

Unified Diff: chrome/worker/websharedworker_stub.cc

Issue 372047: Fixed worker startup issue (Closed)
Patch Set: Removed tests to a separate patch. Created 11 years, 1 month 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
Index: chrome/worker/websharedworker_stub.cc
diff --git a/chrome/worker/websharedworker_stub.cc b/chrome/worker/websharedworker_stub.cc
index 902f3930e8120be8e91f6a66a58a5741d6ec9c07..1860f29b7fbdb5bbc51454ad85a38627e1838036 100644
--- a/chrome/worker/websharedworker_stub.cc
+++ b/chrome/worker/websharedworker_stub.cc
@@ -41,7 +41,7 @@ void WebSharedWorkerStub::OnStartWorkerContext(
void WebSharedWorkerStub::OnConnect(int sent_message_port_id, int routing_id) {
WebKit::WebMessagePortChannel* channel =
new WebMessagePortChannelImpl(routing_id, sent_message_port_id);
- impl_->connect(channel);
+ impl_->connect(channel, NULL);
}
void WebSharedWorkerStub::OnTerminateWorkerContext() {

Powered by Google App Engine
This is Rietveld 408576698