зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1300492 - Fix typo in PresentationDeviceManager::GetAvailableDevices, r=smaug
MozReview-Commit-ID: DVs5uJUA6H5 --HG-- extra : rebase_source : ce54fd38d8c5781e9103b45d1fd0848b2c59255c
This commit is contained in:
Родитель
f9a272b954
Коммит
f426111737
|
@ -188,7 +188,7 @@ PresentationDeviceManager::GetAvailableDevices(nsIArray* aPresentationUrls, nsIA
|
|||
|
||||
for (uint32_t j = 0; j < presentationUrls.Length(); ++j) {
|
||||
bool isSupported;
|
||||
if (NS_SUCCEEDED(mDevices[i]->IsRequestedUrlSupported(presentationUrls[i],
|
||||
if (NS_SUCCEEDED(mDevices[i]->IsRequestedUrlSupported(presentationUrls[j],
|
||||
&isSupported)) &&
|
||||
isSupported) {
|
||||
devices->AppendElement(mDevices[i], false);
|
||||
|
|
Загрузка…
Ссылка в новой задаче