mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-16 17:33:08 +09:00
Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList
Also fix build bustage for De-unified layout/xul in nsRootBoxFrame.cpp
This commit is contained in:
parent
7ae0c88c46
commit
85b85bac28
154 changed files with 259 additions and 430 deletions
|
|
@ -71,14 +71,13 @@ nsMathMLSelectedFrame::SetInitialChildList(ChildListID aListID,
|
|||
// Only paint the selected child...
|
||||
void
|
||||
nsMathMLSelectedFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
||||
const nsRect& aDirtyRect,
|
||||
const nsDisplayListSet& aLists)
|
||||
{
|
||||
// Report an error if something wrong was found in this frame.
|
||||
// We can't call nsDisplayMathMLError from here,
|
||||
// so ask nsMathMLContainerFrame to do the work for us.
|
||||
if (NS_MATHML_HAS_ERROR(mPresentationData.flags)) {
|
||||
nsMathMLContainerFrame::BuildDisplayList(aBuilder, aDirtyRect, aLists);
|
||||
nsMathMLContainerFrame::BuildDisplayList(aBuilder, aLists);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -89,7 +88,7 @@ nsMathMLSelectedFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
|||
// Put the child's background directly onto the content list
|
||||
nsDisplayListSet set(aLists, aLists.Content());
|
||||
// The children should be in content order
|
||||
BuildDisplayListForChild(aBuilder, childFrame, aDirtyRect, set);
|
||||
BuildDisplayListForChild(aBuilder, childFrame, set);
|
||||
}
|
||||
|
||||
#if defined(DEBUG) && defined(SHOW_BOUNDING_BOX)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue