Index: Source/modules/mediastream/MediaDevicesRequest.cpp |
diff --git a/Source/modules/mediastream/MediaDevicesRequest.cpp b/Source/modules/mediastream/MediaDevicesRequest.cpp |
index 0c90f7d6227e9485678b02a4862cc748d18c003a..06491250c30bfe18da748f427b17755b8fead4ac 100644 |
--- a/Source/modules/mediastream/MediaDevicesRequest.cpp |
+++ b/Source/modules/mediastream/MediaDevicesRequest.cpp |
@@ -33,9 +33,9 @@ |
namespace WebCore { |
-PassRefPtr<MediaDevicesRequest> MediaDevicesRequest::create(ExecutionContext* context, UserMediaController* controller, PassOwnPtr<MediaDeviceInfoCallback> callback, ExceptionState& exceptionState) |
+PassRefPtrWillBeRawPtr<MediaDevicesRequest> MediaDevicesRequest::create(ExecutionContext* context, UserMediaController* controller, PassOwnPtr<MediaDeviceInfoCallback> callback, ExceptionState& exceptionState) |
{ |
- RefPtr<MediaDevicesRequest> request = adoptRef(new MediaDevicesRequest(context, controller, callback)); |
+ RefPtrWillBeRawPtr<MediaDevicesRequest> request = adoptRefWillBeRefCountedGarbageCollected(new MediaDevicesRequest(context, controller, callback)); |
request->suspendIfNeeded(); |
return request.release(); |
} |