diff --git a/mozilla/layout/base/nsCSSFrameConstructor.cpp b/mozilla/layout/base/nsCSSFrameConstructor.cpp index 0eaf2f851fb..74422445327 100644 --- a/mozilla/layout/base/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/base/nsCSSFrameConstructor.cpp @@ -7112,7 +7112,6 @@ nsCSSFrameConstructor::CantRenderReplacedElement(nsIPresContext* aPresContext, nsIFrame* firstChild; parentFrame->FirstChild(listName, &firstChild); nsFrameList frameList(firstChild); - nsIFrame* prevSibling = frameList.GetPrevSiblingFor(aFrame); // See whether it's an IMG or an OBJECT element if (nsHTMLAtoms::img == tag.get()) { diff --git a/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp b/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp index 0eaf2f851fb..74422445327 100644 --- a/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp @@ -7112,7 +7112,6 @@ nsCSSFrameConstructor::CantRenderReplacedElement(nsIPresContext* aPresContext, nsIFrame* firstChild; parentFrame->FirstChild(listName, &firstChild); nsFrameList frameList(firstChild); - nsIFrame* prevSibling = frameList.GetPrevSiblingFor(aFrame); // See whether it's an IMG or an OBJECT element if (nsHTMLAtoms::img == tag.get()) {