Index: Source/modules/mediastream/MediaDeviceInfo.cpp |
diff --git a/Source/modules/mediastream/MediaDeviceInfo.cpp b/Source/modules/mediastream/MediaDeviceInfo.cpp |
index ae21805fa7920d1cf272e52dfdf538952dcfc702..c6cf43e7d1bb67601f0dade8b9a48fb0129252ec 100644 |
--- a/Source/modules/mediastream/MediaDeviceInfo.cpp |
+++ b/Source/modules/mediastream/MediaDeviceInfo.cpp |
@@ -30,10 +30,12 @@ |
namespace WebCore { |
-PassRefPtr<MediaDeviceInfo> MediaDeviceInfo::create(const blink::WebMediaDeviceInfo& webMediaDeviceInfo) |
+DEFINE_GC_INFO(MediaDeviceInfo); |
haraken
2014/02/26 13:58:37
You can drop DEFINE_GC_INFO. The same comment for
keishi
2014/02/27 07:33:34
Done.
|
+ |
+PassRefPtrWillBeRawPtr<MediaDeviceInfo> MediaDeviceInfo::create(const blink::WebMediaDeviceInfo& webMediaDeviceInfo) |
{ |
ASSERT(!webMediaDeviceInfo.isNull()); |
- return adoptRef(new MediaDeviceInfo(webMediaDeviceInfo)); |
+ return adoptRefWillBeNoop(new MediaDeviceInfo(webMediaDeviceInfo)); |
} |
MediaDeviceInfo::MediaDeviceInfo(const blink::WebMediaDeviceInfo& webMediaDeviceInfo) |