зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1384944 - Replace NS_ConvertASCIItoUTF16 by NS_ConvertUTF8toUTF16; r=padenot
--HG-- extra : rebase_source : e717dd2c4a0e96edb225443d157b4a761b1ec524
This commit is contained in:
Родитель
567f1c90d0
Коммит
261bda646c
|
@ -610,9 +610,9 @@ void GetDeviceCollection(nsTArray<RefPtr<AudioDeviceInfo>>& aDeviceInfos,
|
|||
for (unsigned int i = 0; i < collection.count; ++i) {
|
||||
auto device = collection.device[i];
|
||||
RefPtr<AudioDeviceInfo> info =
|
||||
new AudioDeviceInfo(NS_ConvertASCIItoUTF16(device.friendly_name),
|
||||
NS_ConvertASCIItoUTF16(device.group_id),
|
||||
NS_ConvertASCIItoUTF16(device.vendor_name),
|
||||
new AudioDeviceInfo(NS_ConvertUTF8toUTF16(device.friendly_name),
|
||||
NS_ConvertUTF8toUTF16(device.group_id),
|
||||
NS_ConvertUTF8toUTF16(device.vendor_name),
|
||||
ConvertCubebType(device.type),
|
||||
ConvertCubebState(device.state),
|
||||
ConvertCubebPreferred(device.preferred),
|
||||
|
|
Загрузка…
Ссылка в новой задаче