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

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: WIP Created 6 years, 10 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..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)

Powered by Google App Engine
This is Rietveld 408576698