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

Unified Diff: third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.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/mediastream/RTCPeerConnection.h
diff --git a/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h b/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h
index 66120bfa60cb6f6ab2ca90d55c5544d538773fc1..82394b1082fa093936daca22369551fba53c217e 100644
--- a/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h
+++ b/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h
@@ -68,7 +68,7 @@ class RTCPeerConnection final
, public ActiveDOMObject {
REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(RTCPeerConnection);
DEFINE_WRAPPERTYPEINFO();
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(RTCPeerConnection);
+ USING_GARBAGE_COLLECTED_MIXIN(RTCPeerConnection);
public:
// TODO(hbos): Create with expired RTCCertificate should fail, see crbug.com/565278.
static RTCPeerConnection* create(ExecutionContext*, const Dictionary&, const Dictionary&, ExceptionState&);
@@ -169,14 +169,14 @@ private:
typedef Function<bool()> BoolFunction;
class EventWrapper : public GarbageCollectedFinalized<EventWrapper> {
public:
- EventWrapper(PassRefPtrWillBeRawPtr<Event>, PassOwnPtr<BoolFunction>);
+ EventWrapper(RawPtr<Event>, PassOwnPtr<BoolFunction>);
// Returns true if |m_setupFunction| returns true or it is null.
// |m_event| will only be fired if setup() returns true;
bool setup();
DECLARE_TRACE();
- RefPtrWillBeMember<Event> m_event;
+ Member<Event> m_event;
private:
OwnPtr<BoolFunction> m_setupFunction;
@@ -184,8 +184,8 @@ private:
RTCPeerConnection(ExecutionContext*, RTCConfiguration*, WebMediaConstraints, ExceptionState&);
- void scheduleDispatchEvent(PassRefPtrWillBeRawPtr<Event>);
- void scheduleDispatchEvent(PassRefPtrWillBeRawPtr<Event>, PassOwnPtr<BoolFunction>);
+ void scheduleDispatchEvent(RawPtr<Event>);
+ void scheduleDispatchEvent(RawPtr<Event>, PassOwnPtr<BoolFunction>);
void dispatchScheduledEvent();
bool hasLocalStreamWithTrackId(const String& trackId);

Powered by Google App Engine
This is Rietveld 408576698