зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1307522 - Remove obsolete comment. r=me and DONTBUILD because NPOTB
MozReview-Commit-ID: BA6Ak87vhKQ
This commit is contained in:
Родитель
2f628de7ca
Коммит
52a7c7eaf5
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче