Index: content/renderer/pepper/pepper_device_enumeration_event_handler.cc |
diff --git a/content/renderer/pepper/pepper_device_enumeration_event_handler.cc b/content/renderer/pepper/pepper_device_enumeration_event_handler.cc |
index 3ea089c43cd9a9278d01a11a60045d6c20bcf702..e79c66cc827e0c7bd818336d8759de0be741ee9f 100644 |
--- a/content/renderer/pepper/pepper_device_enumeration_event_handler.cc |
+++ b/content/renderer/pepper/pepper_device_enumeration_event_handler.cc |
@@ -96,9 +96,9 @@ PepperDeviceEnumerationEventHandler::FromPepperDeviceType( |
case PP_DEVICETYPE_DEV_INVALID: |
return MEDIA_STREAM_DEVICE_TYPE_NO_SERVICE; |
case PP_DEVICETYPE_DEV_AUDIOCAPTURE: |
- return MEDIA_STREAM_DEVICE_TYPE_AUDIO_CAPTURE; |
+ return MEDIA_STREAM_DEVICE_TYPE_USER_AUDIO_CAPTURE; |
case PP_DEVICETYPE_DEV_VIDEOCAPTURE: |
- return MEDIA_STREAM_DEVICE_TYPE_VIDEO_CAPTURE; |
+ return MEDIA_STREAM_DEVICE_TYPE_USER_VIDEO_CAPTURE; |
default: |
NOTREACHED(); |
return MEDIA_STREAM_DEVICE_TYPE_NO_SERVICE; |
@@ -111,9 +111,9 @@ PP_DeviceType_Dev PepperDeviceEnumerationEventHandler::FromMediaStreamType( |
switch (type) { |
case MEDIA_STREAM_DEVICE_TYPE_NO_SERVICE: |
return PP_DEVICETYPE_DEV_INVALID; |
- case MEDIA_STREAM_DEVICE_TYPE_AUDIO_CAPTURE: |
+ case MEDIA_STREAM_DEVICE_TYPE_USER_AUDIO_CAPTURE: |
return PP_DEVICETYPE_DEV_AUDIOCAPTURE; |
- case MEDIA_STREAM_DEVICE_TYPE_VIDEO_CAPTURE: |
+ case MEDIA_STREAM_DEVICE_TYPE_USER_VIDEO_CAPTURE: |
return PP_DEVICETYPE_DEV_VIDEOCAPTURE; |
default: |
NOTREACHED(); |