mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-19 23:07:33 +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
|
|
@ -39,7 +39,6 @@
|
|||
#include "nsIMessageManager.h"
|
||||
#include "mozilla/RestyleLogging.h"
|
||||
#include "Units.h"
|
||||
#include "mozilla/RestyleManagerHandle.h"
|
||||
#include "prenv.h"
|
||||
#include "mozilla/StaticPresData.h"
|
||||
|
||||
|
|
@ -71,6 +70,7 @@ namespace mozilla {
|
|||
class EffectCompositor;
|
||||
class EventStateManager;
|
||||
class CounterStyleManager;
|
||||
class RestyleManager;
|
||||
namespace layers {
|
||||
class ContainerLayer;
|
||||
class LayerManager;
|
||||
|
|
@ -243,7 +243,7 @@ public:
|
|||
|
||||
nsRefreshDriver* RefreshDriver() { return mRefreshDriver; }
|
||||
|
||||
mozilla::RestyleManagerHandle RestyleManager() {
|
||||
mozilla::RestyleManager* RestyleManager() {
|
||||
MOZ_ASSERT(mRestyleManager);
|
||||
return mRestyleManager;
|
||||
}
|
||||
|
|
@ -1240,7 +1240,7 @@ protected:
|
|||
RefPtr<mozilla::EffectCompositor> mEffectCompositor;
|
||||
RefPtr<nsTransitionManager> mTransitionManager;
|
||||
RefPtr<nsAnimationManager> mAnimationManager;
|
||||
mozilla::RestyleManagerHandle::RefPtr mRestyleManager;
|
||||
RefPtr<mozilla::RestyleManager> mRestyleManager;
|
||||
RefPtr<mozilla::CounterStyleManager> mCounterStyleManager;
|
||||
nsIAtom* MOZ_UNSAFE_REF("always a static atom") mMedium; // initialized by subclass ctors
|
||||
nsCOMPtr<nsIAtom> mMediaEmulated;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue