Index: Source/modules/serviceworkers/FetchEvent.cpp |
diff --git a/Source/modules/serviceworkers/FetchEvent.cpp b/Source/modules/serviceworkers/FetchEvent.cpp |
index 625809d23bb227614629dca0f95dbad732df4675..2c1db23b870a63a164152f5c93bfa92ce629bc36 100644 |
--- a/Source/modules/serviceworkers/FetchEvent.cpp |
+++ b/Source/modules/serviceworkers/FetchEvent.cpp |
@@ -16,15 +16,13 @@ PassRefPtrWillBeRawPtr<FetchEvent> FetchEvent::create() |
return adoptRefWillBeNoop(new FetchEvent()); |
} |
-PassRefPtrWillBeRawPtr<FetchEvent> FetchEvent::create(const AtomicString& type, FetchEventInit& initializer) |
+PassRefPtrWillBeRawPtr<FetchEvent> FetchEvent::create(const AtomicString& type, const FetchEventInit& initializer) |
{ |
- initializer.setCancelable(true); |
return adoptRefWillBeNoop(new FetchEvent(type, initializer, nullptr)); |
} |
-PassRefPtrWillBeRawPtr<FetchEvent> FetchEvent::create(const AtomicString& type, FetchEventInit& initializer, RespondWithObserver* observer) |
+PassRefPtrWillBeRawPtr<FetchEvent> FetchEvent::create(const AtomicString& type, const FetchEventInit& initializer, RespondWithObserver* observer) |
{ |
- initializer.setCancelable(true); |
return adoptRefWillBeNoop(new FetchEvent(type, initializer, observer)); |
} |