Bug 1307522 - Remove obsolete comment. r=me and DONTBUILD because NPOTB

MozReview-Commit-ID: BA6Ak87vhKQ
This commit is contained in:
Kartikaya Gupta 2016-10-05 16:32:06 -04:00
Родитель 2f628de7ca
Коммит 52a7c7eaf5
1 изменённых файлов: 0 добавлений и 5 удалений

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

@ -8491,11 +8491,6 @@ nsLayoutUtils::CalculateScrollableRectForFrame(nsIScrollableFrame* aScrollableFr
if (aScrollableFrame) {
contentBounds = aScrollableFrame->GetScrollRange();
// We ifndef the below code for Fennec because it requires special behaviour
// on the APZC side. Because Fennec has it's own PZC implementation which doesn't
// provide the special behaviour, this code will cause it to break. We can remove
// the ifndef once Fennec switches over to APZ or if we add the special handling
// to Fennec
nsPoint scrollPosition = aScrollableFrame->GetScrollPosition();
if (aScrollableFrame->GetScrollbarStyles().mVertical == NS_STYLE_OVERFLOW_HIDDEN) {
contentBounds.y = scrollPosition.y;