mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-22 12:23:08 +09:00
Issue #2488 - Part 4: Remove the RestyleManagerHandle smart pointer class
This commit is contained in:
parent
4bf43b8fb4
commit
6803c1f710
24 changed files with 55 additions and 414 deletions
|
|
@ -13,8 +13,7 @@
|
|||
#include "nsGkAtoms.h"
|
||||
#include "nsStyleSet.h"
|
||||
#include "nsFrameManager.h"
|
||||
#include "mozilla/RestyleManagerHandle.h"
|
||||
#include "mozilla/RestyleManagerHandleInlines.h"
|
||||
#include "mozilla/RestyleManager.h"
|
||||
#include "nsPlaceholderFrame.h"
|
||||
#include "nsCSSFrameConstructor.h"
|
||||
|
||||
|
|
@ -81,7 +80,7 @@ nsFirstLetterFrame::SetInitialChildList(ChildListID aListID,
|
|||
{
|
||||
MOZ_ASSERT(aListID == kPrincipalList, "Principal child list is the only "
|
||||
"list that nsFirstLetterFrame should set via this function");
|
||||
RestyleManagerHandle restyleManager = PresContext()->RestyleManager();
|
||||
RestyleManager* restyleManager = PresContext()->RestyleManager();
|
||||
|
||||
for (nsFrameList::Enumerator e(aChildList); !e.AtEnd(); e.Next()) {
|
||||
NS_ASSERTION(e.get()->GetParent() == this, "Unexpected parent");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue