diff --git a/layout/mathml/base/src/nsIMathMLFrame.h b/layout/mathml/base/src/nsIMathMLFrame.h index 5998ba0c1a80..d620add46924 100644 --- a/layout/mathml/base/src/nsIMathMLFrame.h +++ b/layout/mathml/base/src/nsIMathMLFrame.h @@ -24,6 +24,7 @@ struct nsPresentationData; struct nsEmbellishData; +struct nsHTMLReflowMetrics; // IID for the nsIMathMLFrame interface (the IID was taken from IIDS.h) /* a6cf9113-15b3-11d2-932e-00805f8add32 */ diff --git a/layout/mathml/base/src/nsMathMLmactionFrame.cpp b/layout/mathml/base/src/nsMathMLmactionFrame.cpp index 4583848ff80d..e069bf51187e 100644 --- a/layout/mathml/base/src/nsMathMLmactionFrame.cpp +++ b/layout/mathml/base/src/nsMathMLmactionFrame.cpp @@ -492,7 +492,7 @@ nsMathMLmactionFrame::MouseClick(nsIDOMEvent* aMouseEvent) mPresContext->GetShell(getter_AddRefs(presShell)); presShell->CancelReflowCommand(this, nsnull); nsFrame::CreateAndPostReflowCommand(presShell, mSelectedFrame, - nsIReflowCommand::StyleChanged, nsnull, nsnull, nsnull); + eReflowType_StyleChanged, nsnull, nsnull, nsnull); } } }