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

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

Issue 216603003: Fix InstallPhaseEvent so that instances can be passed to script. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/modules/serviceworkers/InstallPhaseEvent.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/InstallPhaseEvent.cpp
diff --git a/Source/modules/serviceworkers/InstallPhaseEvent.cpp b/Source/modules/serviceworkers/InstallPhaseEvent.cpp
index 0c33d865ab7a526df68299d8beecee2b7807c486..78c42d3ef0d5402afc9de5f67398be9c44cc30c9 100644
--- a/Source/modules/serviceworkers/InstallPhaseEvent.cpp
+++ b/Source/modules/serviceworkers/InstallPhaseEvent.cpp
@@ -31,8 +31,8 @@
#include "config.h"
#include "InstallPhaseEvent.h"
+#include "bindings/v8/ScriptWrappable.h"
#include "modules/serviceworkers/WaitUntilObserver.h"
-#include "platform/NotImplemented.h"
namespace WebCore {
@@ -52,12 +52,19 @@ void InstallPhaseEvent::waitUntil(const ScriptValue& value)
InstallPhaseEvent::InstallPhaseEvent()
{
+ ScriptWrappable::init(this);
}
InstallPhaseEvent::InstallPhaseEvent(const AtomicString& type, const EventInit& initializer, PassRefPtr<WaitUntilObserver> observer)
: Event(type, initializer)
, m_observer(observer)
{
+ ScriptWrappable::init(this);
+}
+
+const AtomicString& InstallPhaseEvent::interfaceName() const
+{
+ return EventNames::InstallPhaseEvent;
}
void InstallPhaseEvent::trace(Visitor* visitor)
« no previous file with comments | « Source/modules/serviceworkers/InstallPhaseEvent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698