зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset a954692bd4c5 (bug 1728699) for content crashes. CLOSED TREE
This commit is contained in:
Родитель
efbb4a2760
Коммит
eda6b9ae4c
|
@ -3708,7 +3708,8 @@ void ScrollFrameHelper::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
|||
// of the viewport, so most layer implementations would create a layer buffer
|
||||
// that's much larger than necessary. Creating independent layers for each
|
||||
// scrollbar works around the problem.
|
||||
bool createLayersForScrollbars = isRootContent;
|
||||
bool createLayersForScrollbars =
|
||||
mIsRoot && mOuter->PresContext()->IsRootContentDocument();
|
||||
|
||||
nsIScrollableFrame* sf = do_QueryFrame(mOuter);
|
||||
MOZ_ASSERT(sf);
|
||||
|
|
Загрузка…
Ссылка в новой задаче