Bug 1297899 - Part 7: Move PostRestyleEventForLazyConstruction up to RestyleManager. r=bholley

MozReview-Commit-ID: 8M5wgCJp6PT
This commit is contained in:
Cameron McCormack
2017-02-13 11:21:33 +08:00
parent 87f3ad6dfb
commit 23f1714041
4 changed files with 2 additions and 18 deletions

View File

@@ -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,