Bug 1720804 - Part 1: Move majority of the display list code inside mozilla namespace r=mattwoodrow

Differential Revision: https://phabricator.services.mozilla.com/D120041
This commit is contained in:
Miko Mynttinen
2021-07-19 11:28:20 +00:00
parent 7c888a72bc
commit 8df6649834
72 changed files with 972 additions and 868 deletions

View File

@@ -2480,6 +2480,8 @@ nsresult nsTreeBodyFrame::HandleEvent(nsPresContext* aPresContext,
return NS_OK;
}
namespace mozilla {
class nsDisplayTreeBody final : public nsPaintedDisplayItem {
public:
nsDisplayTreeBody(nsDisplayListBuilder* aBuilder, nsIFrame* aFrame)
@@ -2541,6 +2543,8 @@ class nsDisplayTreeBody final : public nsPaintedDisplayItem {
}
};
} // namespace mozilla
#ifdef XP_MACOSX
static bool IsInSourceList(nsIFrame* aFrame) {
for (nsIFrame* frame = aFrame; frame;