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

Unified Diff: Source/modules/serviceworkers/InstallPhaseEvent.cpp

Issue 214413004: Dispatch the ServiceWorker "activate" event during activation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Workers, activate! 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: Source/modules/serviceworkers/InstallPhaseEvent.cpp
diff --git a/Source/modules/serviceworkers/InstallPhaseEvent.cpp b/Source/modules/serviceworkers/InstallPhaseEvent.cpp
index 0c33d865ab7a526df68299d8beecee2b7807c486..b82c10ea164181cc44bacab68b663f53a1800cc2 100644
--- a/Source/modules/serviceworkers/InstallPhaseEvent.cpp
+++ b/Source/modules/serviceworkers/InstallPhaseEvent.cpp
@@ -41,6 +41,11 @@ PassRefPtrWillBeRawPtr<InstallPhaseEvent> InstallPhaseEvent::create()
return adoptRefWillBeRefCountedGarbageCollected(new InstallPhaseEvent());
}
+PassRefPtrWillBeRawPtr<InstallPhaseEvent> InstallPhaseEvent::create(const AtomicString& type, const EventInit& eventInit, PassRefPtr<WaitUntilObserver> observer)
+{
+ return adoptRefWillBeRefCountedGarbageCollected(new InstallPhaseEvent(type, eventInit, observer));
+}
+
InstallPhaseEvent::~InstallPhaseEvent()
{
}

Powered by Google App Engine
This is Rietveld 408576698