mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Backed out changeset e5e9bf4c7e67 (bug 1724088) for causing reftest failures on iframe-modify-scrolling-attr-to-yes.html. CLOSED TREE
This commit is contained in:
parent
39d533b177
commit
8087e2edb3
@ -5694,8 +5694,7 @@ void ScrollFrameHelper::CurPosAttributeChanged(nsIContent* aContent,
|
||||
return;
|
||||
}
|
||||
|
||||
if (mScrollbarActivity &&
|
||||
(mHasHorizontalScrollbar || mHasVerticalScrollbar)) {
|
||||
if (mScrollbarActivity) {
|
||||
RefPtr<ScrollbarActivity> scrollbarActivity(mScrollbarActivity);
|
||||
scrollbarActivity->ActivityOccurred();
|
||||
}
|
||||
@ -6988,8 +6987,7 @@ void ScrollFrameHelper::SetCoordAttribute(Element* aElement, nsAtom* aAtom,
|
||||
return;
|
||||
}
|
||||
|
||||
if (mScrollbarActivity &&
|
||||
(mHasHorizontalScrollbar || mHasVerticalScrollbar)) {
|
||||
if (mScrollbarActivity) {
|
||||
RefPtr<ScrollbarActivity> scrollbarActivity(mScrollbarActivity);
|
||||
scrollbarActivity->ActivityOccurred();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user