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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 785e1e527707a804e0cb56f85bf71d00a37df466..1ea495904ac8e8c80bcfb01e159c04cf3c2d2bbe 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.cpp
@@ -10,19 +10,19 @@
namespace blink {
-PassRefPtrWillBeRawPtr<FetchEvent> FetchEvent::create()
+RawPtr<FetchEvent> FetchEvent::create()
{
- return adoptRefWillBeNoop(new FetchEvent());
+ return (new FetchEvent());
}
-PassRefPtrWillBeRawPtr<FetchEvent> FetchEvent::create(const AtomicString& type, const FetchEventInit& initializer)
+RawPtr<FetchEvent> FetchEvent::create(const AtomicString& type, const FetchEventInit& initializer)
{
- return adoptRefWillBeNoop(new FetchEvent(type, initializer, nullptr));
+ return (new FetchEvent(type, initializer, nullptr));
}
-PassRefPtrWillBeRawPtr<FetchEvent> FetchEvent::create(const AtomicString& type, const FetchEventInit& initializer, RespondWithObserver* observer)
+RawPtr<FetchEvent> FetchEvent::create(const AtomicString& type, const FetchEventInit& initializer, RespondWithObserver* observer)
{
- return adoptRefWillBeNoop(new FetchEvent(type, initializer, observer));
+ return (new FetchEvent(type, initializer, observer));
}
Request* FetchEvent::request() const

Powered by Google App Engine
This is Rietveld 408576698