Bug 1257444: Actually return the desired selection. r=mrbkap

This commit is contained in:
Kyle Huey 2016-03-17 17:27:33 -07:00
Родитель 6f3a1d7c9e
Коммит cd9bdd29d1
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -817,7 +817,7 @@ nsWebBrowserFind::GetFrameSelection(nsPIDOMWindowOuter* aWindow)
int32_t count = -1;
sel->GetRangeCount(&count);
if (count > 0) {
return nullptr;
return sel.forget();
}
}
}