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

Unified Diff: third_party/WebKit/Source/modules/mediastream/RTCDataChannelEvent.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/mediastream/RTCDataChannelEvent.cpp
diff --git a/third_party/WebKit/Source/modules/mediastream/RTCDataChannelEvent.cpp b/third_party/WebKit/Source/modules/mediastream/RTCDataChannelEvent.cpp
index d4f746465abff39d706dfa806b4d06dca4fa7831..ae49f74c044d83f0931cd22c5a93b030ce279fa6 100644
--- a/third_party/WebKit/Source/modules/mediastream/RTCDataChannelEvent.cpp
+++ b/third_party/WebKit/Source/modules/mediastream/RTCDataChannelEvent.cpp
@@ -26,14 +26,14 @@
namespace blink {
-PassRefPtrWillBeRawPtr<RTCDataChannelEvent> RTCDataChannelEvent::create()
+RawPtr<RTCDataChannelEvent> RTCDataChannelEvent::create()
{
- return adoptRefWillBeNoop(new RTCDataChannelEvent);
+ return (new RTCDataChannelEvent);
}
-PassRefPtrWillBeRawPtr<RTCDataChannelEvent> RTCDataChannelEvent::create(const AtomicString& type, bool canBubble, bool cancelable, RTCDataChannel* channel)
+RawPtr<RTCDataChannelEvent> RTCDataChannelEvent::create(const AtomicString& type, bool canBubble, bool cancelable, RTCDataChannel* channel)
{
- return adoptRefWillBeNoop(new RTCDataChannelEvent(type, canBubble, cancelable, channel));
+ return (new RTCDataChannelEvent(type, canBubble, cancelable, channel));
}

Powered by Google App Engine
This is Rietveld 408576698