mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
Issue #2488 - Part 3: Remove the StyleSetHandle smart pointer class
This commit is contained in:
parent
4d7bdedade
commit
4bf43b8fb4
58 changed files with 155 additions and 589 deletions
|
|
@ -5,8 +5,7 @@
|
|||
|
||||
#include "mozilla/RestyleManagerBase.h"
|
||||
#include "mozilla/RestyleManager.h"
|
||||
#include "mozilla/StyleSetHandle.h"
|
||||
#include "mozilla/StyleSetHandleInlines.h" // for Ptr::HasStateDependentStyle
|
||||
#include "nsStyleSet.h" // for HasStateDependentStyle
|
||||
#include "ActiveLayerTracker.h"
|
||||
#include "nsCSSFrameConstructor.h"
|
||||
#include "nsCSSRendering.h"
|
||||
|
|
@ -52,7 +51,7 @@ RestyleManagerBase::ContentStateChangedInternal(Element* aElement,
|
|||
MOZ_ASSERT(aOutChangeHint);
|
||||
MOZ_ASSERT(aOutRestyleHint);
|
||||
|
||||
StyleSetHandle styleSet = PresContext()->StyleSet();
|
||||
nsStyleSet* styleSet = PresContext()->StyleSet();
|
||||
NS_ASSERTION(styleSet, "couldn't get style set");
|
||||
|
||||
*aOutChangeHint = nsChangeHint(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue