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

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

Issue 182763002: Add [WillBeGarbageCollected] to Event.idl (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/modules/mediastream/RTCIceCandidateEvent.h ('k') | Source/modules/serviceworkers/FetchEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/RTCIceCandidateEvent.cpp
diff --git a/Source/modules/mediastream/RTCIceCandidateEvent.cpp b/Source/modules/mediastream/RTCIceCandidateEvent.cpp
index b1314bd8b3ba67d1425db84918a95b56136ccae1..34fc69463f6ddb28a63c6c6b798bfe1a7b3bb8d0 100644
--- a/Source/modules/mediastream/RTCIceCandidateEvent.cpp
+++ b/Source/modules/mediastream/RTCIceCandidateEvent.cpp
@@ -30,14 +30,14 @@
namespace WebCore {
-PassRefPtr<RTCIceCandidateEvent> RTCIceCandidateEvent::create()
+PassRefPtrWillBeRawPtr<RTCIceCandidateEvent> RTCIceCandidateEvent::create()
{
- return adoptRef(new RTCIceCandidateEvent);
+ return adoptRefWillBeRefCountedGarbageCollected(new RTCIceCandidateEvent);
}
-PassRefPtr<RTCIceCandidateEvent> RTCIceCandidateEvent::create(bool canBubble, bool cancelable, PassRefPtr<RTCIceCandidate> candidate)
+PassRefPtrWillBeRawPtr<RTCIceCandidateEvent> RTCIceCandidateEvent::create(bool canBubble, bool cancelable, PassRefPtr<RTCIceCandidate> candidate)
{
- return adoptRef(new RTCIceCandidateEvent(canBubble, cancelable, candidate));
+ return adoptRefWillBeRefCountedGarbageCollected(new RTCIceCandidateEvent(canBubble, cancelable, candidate));
}
RTCIceCandidateEvent::RTCIceCandidateEvent()
« no previous file with comments | « Source/modules/mediastream/RTCIceCandidateEvent.h ('k') | Source/modules/serviceworkers/FetchEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698