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

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

Issue 2217763003: Remove Blink-WebKit-only document.createEvent strings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/FetchEvent.cpp
diff --git a/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.cpp b/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.cpp
index 47bf72a9f6bae25a26d291c738e373a9031403ef..3d7e5a73b1b73ef3eb732c92e878da75bf3b02e1 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.cpp
@@ -12,11 +12,6 @@
namespace blink {
-FetchEvent* FetchEvent::create()
-{
- return new FetchEvent();
-}
-
FetchEvent* FetchEvent::create(ScriptState* scriptState, const AtomicString& type, const FetchEventInit& initializer)
{
return new FetchEvent(scriptState, type, initializer, nullptr, nullptr);
@@ -54,11 +49,6 @@ const AtomicString& FetchEvent::interfaceName() const
return EventNames::FetchEvent;
}
-FetchEvent::FetchEvent()
- : m_isReload(false)
-{
-}
-
FetchEvent::FetchEvent(ScriptState* scriptState, const AtomicString& type, const FetchEventInit& initializer, RespondWithObserver* respondWithObserver, WaitUntilObserver* waitUntilObserver)
: ExtendableEvent(type, initializer, waitUntilObserver)
, m_observer(respondWithObserver)

Powered by Google App Engine
This is Rietveld 408576698