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

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: Rebased Created 6 years, 7 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/MediaDeviceInfo.h ('k') | Source/modules/mediastream/MediaDevicesRequest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/modules/mediastream/MediaDeviceInfo.h ('k') | Source/modules/mediastream/MediaDevicesRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698