Backed out changeset ed9097c98efa (bug 1407987) for failing eslint at toolkit/modules/tests/browser/browser_Finder_offscreen_text.js. r=backout

--HG--
extra : amend_source : f3893dbe5e77479ffdb92fe18db238f42727d6e7
This commit is contained in:
Sebastian Hengst 2017-10-17 18:59:51 +02:00
Родитель 80c25bdd30
Коммит 1bb5155c5c
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -1268,9 +1268,9 @@ nsTypeAheadFind::IsRangeVisible(nsIPresShell *aPresShell,
nsRect(nsPoint(0,0), frame->GetSize()),
minDistance);
if (rectVisibility == nsRectVisibility_kVisible) {
// This is an early exit case, where we return true if and only if
// the range is actually rendered.
if (rectVisibility != nsRectVisibility_kAboveViewport) {
// This is an early exit case, where we return true iff the range
// is actually rendered.
return IsRangeRendered(aPresShell, aPresContext, aRange);
}
}