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

Unified Diff: third_party/WebKit/Source/modules/background_sync/SyncEvent.h

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, 9 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/background_sync/SyncEvent.h
diff --git a/third_party/WebKit/Source/modules/background_sync/SyncEvent.h b/third_party/WebKit/Source/modules/background_sync/SyncEvent.h
index c88e384a7e4b02a3d408154b251b38052ef376df..590637b7631d7f48e8ba50b944897b3930e756f5 100644
--- a/third_party/WebKit/Source/modules/background_sync/SyncEvent.h
+++ b/third_party/WebKit/Source/modules/background_sync/SyncEvent.h
@@ -17,17 +17,17 @@ namespace blink {
class MODULES_EXPORT SyncEvent final : public ExtendableEvent {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<SyncEvent> create()
+ static RawPtr<SyncEvent> create()
{
return adoptRefWillBeNoop(new SyncEvent);
}
- static PassRefPtrWillBeRawPtr<SyncEvent> create(const AtomicString& type, const String& tag, bool lastChance, WaitUntilObserver* observer)
+ static RawPtr<SyncEvent> create(const AtomicString& type, const String& tag, bool lastChance, WaitUntilObserver* observer)
{
- return adoptRefWillBeNoop(new SyncEvent(type, tag, lastChance, observer));
+ return new SyncEvent(type, tag, lastChance, observer);
}
- static PassRefPtrWillBeRawPtr<SyncEvent> create(const AtomicString& type, const SyncEventInit& init)
+ static RawPtr<SyncEvent> create(const AtomicString& type, const SyncEventInit& init)
{
- return adoptRefWillBeNoop(new SyncEvent(type, init));
+ return new SyncEvent(type, init);
}
~SyncEvent() override;

Powered by Google App Engine
This is Rietveld 408576698