Index: Source/modules/mediastream/MediaDeviceInfo.cpp |
diff --git a/Source/modules/mediastream/MediaDeviceInfo.cpp b/Source/modules/mediastream/MediaDeviceInfo.cpp |
index ae21805fa7920d1cf272e52dfdf538952dcfc702..17826923a5e921d977d4e0907368756ffe2c393e 100644 |
--- a/Source/modules/mediastream/MediaDeviceInfo.cpp |
+++ b/Source/modules/mediastream/MediaDeviceInfo.cpp |
@@ -30,10 +30,10 @@ |
namespace WebCore { |
-PassRefPtr<MediaDeviceInfo> MediaDeviceInfo::create(const blink::WebMediaDeviceInfo& webMediaDeviceInfo) |
+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) |