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

Unified Diff: Source/modules/mediastream/MediaDeviceInfo.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/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)

Powered by Google App Engine
This is Rietveld 408576698