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

Unified Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp

Issue 2746783002: [ServiceWorker] Mojofy InstallEvent of Service Worker (Closed)
Patch Set: Just delete a useless line Created 3 years, 8 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: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
index 02ba59ee787f700515ce5c86251d0bcb491d69fc..ffff3e87b1f9da47c07bca9985fb476e0a7dd212 100644
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
@@ -375,8 +375,8 @@ void ServiceWorkerGlobalScopeProxy::DispatchForeignFetchEvent(
void ServiceWorkerGlobalScopeProxy::DispatchInstallEvent(int event_id) {
WaitUntilObserver* observer = WaitUntilObserver::Create(
WorkerGlobalScope(), WaitUntilObserver::kInstall, event_id);
- Event* event = InstallEvent::Create(EventTypeNames::install,
- ExtendableEventInit(), observer);
+ Event* event = InstallEvent::Create(
+ EventTypeNames::install, ExtendableEventInit(), event_id, observer);
WorkerGlobalScope()->DispatchExtendableEvent(event, observer);
}

Powered by Google App Engine
This is Rietveld 408576698