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

Unified Diff: content/child/service_worker/service_worker_dispatcher.cc

Issue 189253002: Implement ServiceWorker::postMessage() [Chromium] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename message handler per review feedback Created 6 years, 9 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
Index: content/child/service_worker/service_worker_dispatcher.cc
diff --git a/content/child/service_worker/service_worker_dispatcher.cc b/content/child/service_worker/service_worker_dispatcher.cc
index 0a4310edc1c2f202f1c89eafe66a7d4987737562..ac870acd33302fa20444c58b09d980ddf8753618 100644
--- a/content/child/service_worker/service_worker_dispatcher.cc
+++ b/content/child/service_worker/service_worker_dispatcher.cc
@@ -128,7 +128,7 @@ void ServiceWorkerDispatcher::OnRegistered(int32 thread_id,
// duplicate registration. So for now we mint a new object each
// time.
scoped_ptr<WebServiceWorkerImpl> worker(
- new WebServiceWorkerImpl(registration_id));
+ new WebServiceWorkerImpl(registration_id, thread_safe_sender_));
callbacks->onSuccess(worker.release());
pending_callbacks_.Remove(request_id);
}
« no previous file with comments | « content/browser/service_worker/service_worker_storage.cc ('k') | content/child/service_worker/web_service_worker_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698