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

Unified Diff: Source/modules/mediastream/RTCIceCandidateEvent.cpp

Issue 173363002: Move mediastream module to oilpan transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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: Source/modules/mediastream/RTCIceCandidateEvent.cpp
diff --git a/Source/modules/mediastream/RTCIceCandidateEvent.cpp b/Source/modules/mediastream/RTCIceCandidateEvent.cpp
index b5cdd55f270c17ea2ce244ca4142bd2d3af20e54..4a403dba56b61adf22fc1d5af4150d6aa11e5094 100644
--- a/Source/modules/mediastream/RTCIceCandidateEvent.cpp
+++ b/Source/modules/mediastream/RTCIceCandidateEvent.cpp
@@ -35,7 +35,7 @@ PassRefPtrWillBeRawPtr<RTCIceCandidateEvent> RTCIceCandidateEvent::create()
return adoptRefWillBeNoop(new RTCIceCandidateEvent);
}
-PassRefPtrWillBeRawPtr<RTCIceCandidateEvent> RTCIceCandidateEvent::create(bool canBubble, bool cancelable, PassRefPtr<RTCIceCandidate> candidate)
+PassRefPtrWillBeRawPtr<RTCIceCandidateEvent> RTCIceCandidateEvent::create(bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<RTCIceCandidate> candidate)
{
return adoptRefWillBeNoop(new RTCIceCandidateEvent(canBubble, cancelable, candidate));
}
@@ -45,7 +45,7 @@ RTCIceCandidateEvent::RTCIceCandidateEvent()
ScriptWrappable::init(this);
}
-RTCIceCandidateEvent::RTCIceCandidateEvent(bool canBubble, bool cancelable, PassRefPtr<RTCIceCandidate> candidate)
+RTCIceCandidateEvent::RTCIceCandidateEvent(bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<RTCIceCandidate> candidate)
: Event(EventTypeNames::icecandidate, canBubble, cancelable)
, m_candidate(candidate)
{
@@ -68,6 +68,7 @@ const AtomicString& RTCIceCandidateEvent::interfaceName() const
void RTCIceCandidateEvent::trace(Visitor* visitor)
{
+ visitor->trace(m_candidate);
Event::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698