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

Unified Diff: content/renderer/pepper/pepper_media_device_manager.cc

Issue 2522663003: [Buildfix] Fix enable_webrtc=false build. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_media_device_manager.cc
diff --git a/content/renderer/pepper/pepper_media_device_manager.cc b/content/renderer/pepper/pepper_media_device_manager.cc
index 412c53f1be6e30a9c0875d75d994304942cbad9d..5da6cb4eb7f55a6c1efe1679737597bbbe72279e 100644
--- a/content/renderer/pepper/pepper_media_device_manager.cc
+++ b/content/renderer/pepper/pepper_media_device_manager.cc
@@ -89,9 +89,9 @@ void PepperMediaDeviceManager::EnumerateDevices(
callback, ToMediaDeviceType(type)));
#else
base::ThreadTaskRunnerHandle::Get()->PostTask(
- FROM_HERE,
- base::Bind(&PepperMediaDeviceManager::DevicesEnumerated, AsWeakPtr(),
- callback, ToMediaDeviceType(type), MediaDeviceInfoArray()));
+ FROM_HERE, base::Bind(&PepperMediaDeviceManager::DevicesEnumerated,
+ AsWeakPtr(), callback, ToMediaDeviceType(type),
+ std::vector<MediaDeviceInfoArray>()));
#endif
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698