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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ForeignFetchEvent.cpp

Issue 2216593002: Drop document.createEvent support for things still behind a flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@createEvent
Patch Set: fix LayoutTests Created 4 years, 4 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/modules/serviceworkers/ForeignFetchEvent.cpp
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ForeignFetchEvent.cpp b/third_party/WebKit/Source/modules/serviceworkers/ForeignFetchEvent.cpp
index 483be1f7c8f7bcee5b55e066d4032bf54e9f515d..a9b09efe458bf532f7dda8e17d061dae7502cb95 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ForeignFetchEvent.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/ForeignFetchEvent.cpp
@@ -11,10 +11,6 @@
#include "wtf/RefPtr.h"
namespace blink {
-ForeignFetchEvent* ForeignFetchEvent::create()
-{
- return new ForeignFetchEvent();
-}
ForeignFetchEvent* ForeignFetchEvent::create(ScriptState* scriptState, const AtomicString& type, const ForeignFetchEventInit& initializer)
{
@@ -48,10 +44,6 @@ const AtomicString& ForeignFetchEvent::interfaceName() const
return EventNames::ForeignFetchEvent;
}
-ForeignFetchEvent::ForeignFetchEvent()
-{
-}
-
ForeignFetchEvent::ForeignFetchEvent(ScriptState* scriptState, const AtomicString& type, const ForeignFetchEventInit& initializer, ForeignFetchRespondWithObserver* respondWithObserver, WaitUntilObserver* waitUntilObserver)
: ExtendableEvent(type, initializer, waitUntilObserver)
, m_observer(respondWithObserver)

Powered by Google App Engine
This is Rietveld 408576698