From f263be618e790b4d7e279f280dfdb5c31c27a6dd Mon Sep 17 00:00:00 2001 From: Robert O'Callahan Date: Mon, 22 Jul 2013 16:30:18 +1200 Subject: [PATCH] Fix bustage for bug 886295 --- layout/base/RestyleManager.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/layout/base/RestyleManager.cpp b/layout/base/RestyleManager.cpp index 07b9b734fb3..1ad7900ff53 100644 --- a/layout/base/RestyleManager.cpp +++ b/layout/base/RestyleManager.cpp @@ -549,17 +549,6 @@ NeedToReframeForAddingOrRemovingTransform(nsIFrame* aFrame) return false; } -static nsIFrame* -FindReflowRootFor(nsIFrame* aFrame) -{ - for (nsIFrame* f = aFrame; f; f = f->GetParent()) { - if (f->GetStateBits() & NS_FRAME_REFLOW_ROOT) { - return f; - } - } - return nullptr; -} - nsresult RestyleManager::ProcessRestyledFrames(nsStyleChangeList& aChangeList) {