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

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, 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/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..7d2b0c469e08dc8c0ad224b282daf9ad4f514814 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);
}
-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