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

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

Issue 1187573003: Fix for default value of FetchEvent.cancellable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/FetchEvent.cpp
diff --git a/Source/modules/serviceworkers/FetchEvent.cpp b/Source/modules/serviceworkers/FetchEvent.cpp
index 625809d23bb227614629dca0f95dbad732df4675..62526077ce9ac4fc105c0176c44f099dd72cb3d0 100644
--- a/Source/modules/serviceworkers/FetchEvent.cpp
+++ b/Source/modules/serviceworkers/FetchEvent.cpp
@@ -18,13 +18,11 @@ PassRefPtrWillBeRawPtr<FetchEvent> FetchEvent::create()
PassRefPtrWillBeRawPtr<FetchEvent> FetchEvent::create(const AtomicString& type, FetchEventInit& initializer)
jochen (gone - plz use gerrit) 2015/06/17 12:51:31 FetchEventInit should be a const ref now
Paritosh Kumar 2015/06/17 13:15:32 Yes. Thanks.
{
- initializer.setCancelable(true);
return adoptRefWillBeNoop(new FetchEvent(type, initializer, nullptr));
}
PassRefPtrWillBeRawPtr<FetchEvent> FetchEvent::create(const AtomicString& type, FetchEventInit& initializer, RespondWithObserver* observer)
{
- initializer.setCancelable(true);
return adoptRefWillBeNoop(new FetchEvent(type, initializer, observer));
}

Powered by Google App Engine
This is Rietveld 408576698