Bug 1115812 patch 16 - Remove the now-unused DoRebuildAllStyleData. r=heycam

This commit is contained in:
L. David Baron 2015-01-13 21:03:12 -08:00
Родитель f9abbf6ae0
Коммит 20ed69a9ae
2 изменённых файлов: 1 добавлений и 12 удалений

Просмотреть файл

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