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

Unified Diff: third_party/WebKit/Source/modules/presentation/PresentationConnectionCloseEvent.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/presentation/PresentationConnectionCloseEvent.h
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnectionCloseEvent.h b/third_party/WebKit/Source/modules/presentation/PresentationConnectionCloseEvent.h
index f7b5ce0677d41503516a19e4b2d27ebe1ec9e137..53b59bb54b09a3826a12253d8ec9032a95dccbf4 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationConnectionCloseEvent.h
+++ b/third_party/WebKit/Source/modules/presentation/PresentationConnectionCloseEvent.h
@@ -20,19 +20,19 @@ class PresentationConnectionCloseEvent final : public Event {
public:
~PresentationConnectionCloseEvent() override = default;
- static PassRefPtrWillBeRawPtr<PresentationConnectionCloseEvent> create()
+ static RawPtr<PresentationConnectionCloseEvent> create()
{
return adoptRefWillBeNoop(new PresentationConnectionCloseEvent);
}
- static PassRefPtrWillBeRawPtr<PresentationConnectionCloseEvent> create(const AtomicString& eventType, const String& reason, const String& message)
+ static RawPtr<PresentationConnectionCloseEvent> create(const AtomicString& eventType, const String& reason, const String& message)
{
- return adoptRefWillBeNoop(new PresentationConnectionCloseEvent(eventType, reason, message));
+ return new PresentationConnectionCloseEvent(eventType, reason, message);
}
- static PassRefPtrWillBeRawPtr<PresentationConnectionCloseEvent> create(const AtomicString& eventType, const PresentationConnectionCloseEventInit& initializer)
+ static RawPtr<PresentationConnectionCloseEvent> create(const AtomicString& eventType, const PresentationConnectionCloseEventInit& initializer)
{
- return adoptRefWillBeNoop(new PresentationConnectionCloseEvent(eventType, initializer));
+ return new PresentationConnectionCloseEvent(eventType, initializer);
}
const String& reason() const { return m_reason; }

Powered by Google App Engine
This is Rietveld 408576698