diff --git a/mozilla/layout/forms/nsHTMLButtonControlFrame.cpp b/mozilla/layout/forms/nsHTMLButtonControlFrame.cpp
index 5e2af212569..cfc1f4baf46 100644
--- a/mozilla/layout/forms/nsHTMLButtonControlFrame.cpp
+++ b/mozilla/layout/forms/nsHTMLButtonControlFrame.cpp
@@ -319,6 +319,7 @@ nsHTMLButtonControlFrame::MouseClicked(nsIPresContext* aPresContext)
}
// XXX temporary hack code until new style rules are added
+static
void ReflowTemp(nsIPresContext& aPresContext, nsHTMLButtonControlFrame* aFrame, nsRect& aRect)
{
nsHTMLReflowMetrics metrics(nsnull);
diff --git a/mozilla/layout/html/forms/src/nsHTMLButtonControlFrame.cpp b/mozilla/layout/html/forms/src/nsHTMLButtonControlFrame.cpp
index 5e2af212569..cfc1f4baf46 100644
--- a/mozilla/layout/html/forms/src/nsHTMLButtonControlFrame.cpp
+++ b/mozilla/layout/html/forms/src/nsHTMLButtonControlFrame.cpp
@@ -319,6 +319,7 @@ nsHTMLButtonControlFrame::MouseClicked(nsIPresContext* aPresContext)
}
// XXX temporary hack code until new style rules are added
+static
void ReflowTemp(nsIPresContext& aPresContext, nsHTMLButtonControlFrame* aFrame, nsRect& aRect)
{
nsHTMLReflowMetrics metrics(nsnull);