diff --git a/mozilla/layout/forms/nsLegendFrame.cpp b/mozilla/layout/forms/nsLegendFrame.cpp index 0152486fa18..c48409a9927 100644 --- a/mozilla/layout/forms/nsLegendFrame.cpp +++ b/mozilla/layout/forms/nsLegendFrame.cpp @@ -122,6 +122,7 @@ nsLegendFrame::Paint(nsIPresContext& aPresContext, // XXX a hack until the reflow state does this correctly // XXX when it gets fixed, leave in the printf statements or add an assertion +static void LegendHack(nsHTMLReflowState& aReflowState, char* aMessage) { if (aReflowState.computedWidth == 0) { diff --git a/mozilla/layout/html/forms/src/nsLegendFrame.cpp b/mozilla/layout/html/forms/src/nsLegendFrame.cpp index 0152486fa18..c48409a9927 100644 --- a/mozilla/layout/html/forms/src/nsLegendFrame.cpp +++ b/mozilla/layout/html/forms/src/nsLegendFrame.cpp @@ -122,6 +122,7 @@ nsLegendFrame::Paint(nsIPresContext& aPresContext, // XXX a hack until the reflow state does this correctly // XXX when it gets fixed, leave in the printf statements or add an assertion +static void LegendHack(nsHTMLReflowState& aReflowState, char* aMessage) { if (aReflowState.computedWidth == 0) {