mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-05 00:02:37 +00:00
Bug 1297899 - Part 7: Move PostRestyleEventForLazyConstruction up to RestyleManager. r=bholley
MozReview-Commit-ID: 8M5wgCJp6PT --HG-- extra : rebase_source : 1a2b7d19bcb4d71107143fa3d437ccbf62f84060
This commit is contained in:
parent
f63cdecde2
commit
68519d4f84
@ -325,11 +325,6 @@ public:
|
||||
nsChangeHint aMinChangeHint,
|
||||
const RestyleHintData* aRestyleHintData = nullptr);
|
||||
|
||||
void PostRestyleEventForLazyConstruction()
|
||||
{
|
||||
PostRestyleEventInternal(true);
|
||||
}
|
||||
|
||||
public:
|
||||
/**
|
||||
* Asynchronously clear style data from the root frame downwards and ensure
|
||||
|
@ -140,12 +140,13 @@ public:
|
||||
return mAnimationsWithDestroyedFrame;
|
||||
}
|
||||
|
||||
void PostRestyleEventForLazyConstruction() { PostRestyleEventInternal(true); }
|
||||
|
||||
MOZ_DECL_STYLO_METHODS(GeckoRestyleManager, ServoRestyleManager)
|
||||
|
||||
inline void PostRestyleEvent(dom::Element* aElement,
|
||||
nsRestyleHint aRestyleHint,
|
||||
nsChangeHint aMinChangeHint);
|
||||
inline void PostRestyleEventForLazyConstruction();
|
||||
inline void RebuildAllStyleData(nsChangeHint aExtraHint,
|
||||
nsRestyleHint aRestyleHint);
|
||||
inline void PostRebuildAllStyleDataEvent(nsChangeHint aExtraHint,
|
||||
|
@ -24,12 +24,6 @@ RestyleManager::PostRestyleEvent(dom::Element* aElement,
|
||||
MOZ_STYLO_FORWARD(PostRestyleEvent, (aElement, aRestyleHint, aMinChangeHint));
|
||||
}
|
||||
|
||||
void
|
||||
RestyleManager::PostRestyleEventForLazyConstruction()
|
||||
{
|
||||
MOZ_STYLO_FORWARD(PostRestyleEventForLazyConstruction, ());
|
||||
}
|
||||
|
||||
void
|
||||
RestyleManager::RebuildAllStyleData(nsChangeHint aExtraHint,
|
||||
nsRestyleHint aRestyleHint)
|
||||
|
@ -84,12 +84,6 @@ ServoRestyleManager::PostRestyleEvent(Element* aElement,
|
||||
PostRestyleEventInternal(false);
|
||||
}
|
||||
|
||||
void
|
||||
ServoRestyleManager::PostRestyleEventForLazyConstruction()
|
||||
{
|
||||
PostRestyleEventInternal(true);
|
||||
}
|
||||
|
||||
void
|
||||
ServoRestyleManager::RebuildAllStyleData(nsChangeHint aExtraHint,
|
||||
nsRestyleHint aRestyleHint)
|
||||
|
Loading…
x
Reference in New Issue
Block a user