зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1257444: Actually return the desired selection. r=mrbkap
This commit is contained in:
Родитель
6f3a1d7c9e
Коммит
cd9bdd29d1
|
@ -817,7 +817,7 @@ nsWebBrowserFind::GetFrameSelection(nsPIDOMWindowOuter* aWindow)
|
|||
int32_t count = -1;
|
||||
sel->GetRangeCount(&count);
|
||||
if (count > 0) {
|
||||
return nullptr;
|
||||
return sel.forget();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче