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

Unified Diff: third_party/WebKit/Source/modules/navigatorconnect/ServicePortConnectEvent.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, 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/navigatorconnect/ServicePortConnectEvent.cpp
diff --git a/third_party/WebKit/Source/modules/navigatorconnect/ServicePortConnectEvent.cpp b/third_party/WebKit/Source/modules/navigatorconnect/ServicePortConnectEvent.cpp
index 18817426cc9d43cd7e34f225cf17037789292ee4..63d689ef1c10bf6946343fb1b4bcd18001413bfb 100644
--- a/third_party/WebKit/Source/modules/navigatorconnect/ServicePortConnectEvent.cpp
+++ b/third_party/WebKit/Source/modules/navigatorconnect/ServicePortConnectEvent.cpp
@@ -11,19 +11,19 @@
namespace blink {
-PassRefPtrWillBeRawPtr<ServicePortConnectEvent> ServicePortConnectEvent::create()
+RawPtr<ServicePortConnectEvent> ServicePortConnectEvent::create()
{
- return adoptRefWillBeNoop(new ServicePortConnectEvent());
+ return new ServicePortConnectEvent();
}
-PassRefPtrWillBeRawPtr<ServicePortConnectEvent> ServicePortConnectEvent::create(const AtomicString& type, const ServicePortConnectEventInit& initializer)
+RawPtr<ServicePortConnectEvent> ServicePortConnectEvent::create(const AtomicString& type, const ServicePortConnectEventInit& initializer)
{
- return adoptRefWillBeNoop(new ServicePortConnectEvent(type, initializer, nullptr));
+ return new ServicePortConnectEvent(type, initializer, nullptr);
}
-PassRefPtrWillBeRawPtr<ServicePortConnectEvent> ServicePortConnectEvent::create(const AtomicString& type, const ServicePortConnectEventInit& initializer, AcceptConnectionObserver* observer)
+RawPtr<ServicePortConnectEvent> ServicePortConnectEvent::create(const AtomicString& type, const ServicePortConnectEventInit& initializer, AcceptConnectionObserver* observer)
{
- return adoptRefWillBeNoop(new ServicePortConnectEvent(type, initializer, observer));
+ return new ServicePortConnectEvent(type, initializer, observer);
}
ScriptPromise ServicePortConnectEvent::respondWith(ScriptState* scriptState, const ScriptPromise& response, ExceptionState& exceptionState)

Powered by Google App Engine
This is Rietveld 408576698