From 20ed69a9aed1419daeea6064f4146244b63134ae Mon Sep 17 00:00:00 2001 From: "L. David Baron" Date: Tue, 13 Jan 2015 21:03:12 -0800 Subject: [PATCH] Bug 1115812 patch 16 - Remove the now-unused DoRebuildAllStyleData. r=heycam --- layout/base/RestyleManager.cpp | 9 +-------- layout/base/RestyleManager.h | 4 ---- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/layout/base/RestyleManager.cpp b/layout/base/RestyleManager.cpp index 53fa780547c5..8626c9c1e601 100644 --- a/layout/base/RestyleManager.cpp +++ b/layout/base/RestyleManager.cpp @@ -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 diff --git a/layout/base/RestyleManager.h b/layout/base/RestyleManager.h index f37568e3a9e7..1cc1c3c3c770 100644 --- a/layout/base/RestyleManager.h +++ b/layout/base/RestyleManager.h @@ -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,