mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1115812 patch 16 - Remove the now-unused DoRebuildAllStyleData. r=heycam
This commit is contained in:
parent
74347ab8fc
commit
1b2b72fbeb
@ -1566,13 +1566,6 @@ RestyleManager::StartRebuildAllStyleData(RestyleTracker& aRestyleTracker)
|
||||
changeHint, aRestyleTracker, restyleHint);
|
||||
}
|
||||
|
||||
void
|
||||
RestyleManager::DoRebuildAllStyleData(RestyleTracker& aRestyleTracker)
|
||||
{
|
||||
BeginProcessingRestyles(aRestyleTracker);
|
||||
EndProcessingRestyles();
|
||||
}
|
||||
|
||||
void
|
||||
RestyleManager::FinishRebuildAllStyleData()
|
||||
{
|
||||
@ -2623,7 +2616,7 @@ ElementRestyler::Restyle(nsRestyleHint aRestyleHint)
|
||||
nsRestyleHint hintToRestore = nsRestyleHint(0);
|
||||
if (mContent && mContent->IsElement() &&
|
||||
// If we're resolving from the root of the frame tree (which
|
||||
// we do in DoRebuildAllStyleData), we need to avoid getting the
|
||||
// we do when mDoRebuildAllStyleData), we need to avoid getting the
|
||||
// root's restyle data until we get to its primary frame, since
|
||||
// it's the primary frame that has the styles for the root element
|
||||
// (rather than the ancestors of the primary frame whose mContent
|
||||
|
@ -327,10 +327,6 @@ public:
|
||||
void RebuildAllStyleData(nsChangeHint aExtraHint,
|
||||
nsRestyleHint aRestyleHint);
|
||||
|
||||
// Helper that does part of the work of RebuildAllStyleData, shared by
|
||||
// RestyleElement for 'rem' handling.
|
||||
void DoRebuildAllStyleData(RestyleTracker& aRestyleTracker);
|
||||
|
||||
// See PostRestyleEventCommon below.
|
||||
void PostRestyleEvent(Element* aElement,
|
||||
nsRestyleHint aRestyleHint,
|
||||
|
Loading…
Reference in New Issue
Block a user