зеркало из https://github.com/mozilla/pjs.git
Catching up with recent changes in layout
This commit is contained in:
Родитель
86ed1f5c42
Коммит
79f03df3a2
|
@ -50,7 +50,7 @@ struct nsCharMetrics {
|
||||||
descent = aCharMetrics.descent;
|
descent = aCharMetrics.descent;
|
||||||
}
|
}
|
||||||
|
|
||||||
nsCharMetrics(const nsReflowMetrics& aReflowMetrics) {
|
nsCharMetrics(const nsHTMLReflowMetrics& aReflowMetrics) {
|
||||||
width = aReflowMetrics.width;
|
width = aReflowMetrics.width;
|
||||||
height = aReflowMetrics.height;
|
height = aReflowMetrics.height;
|
||||||
ascent = aReflowMetrics.ascent;
|
ascent = aReflowMetrics.ascent;
|
||||||
|
|
|
@ -355,7 +355,7 @@ nsMathMLContainerFrame::SetInitialChildList(nsIPresContext& aPresContext,
|
||||||
if (inlineFrame) {
|
if (inlineFrame) {
|
||||||
// create a new anonymous block frame to wrap this child...
|
// create a new anonymous block frame to wrap this child...
|
||||||
nsIFrame* anonymous;
|
nsIFrame* anonymous;
|
||||||
rv = NS_NewAnonymousBlockFrame(&anonymous);
|
rv = NS_NewBlockFrame(&anonymous);
|
||||||
if (NS_FAILED(rv))
|
if (NS_FAILED(rv))
|
||||||
return rv;
|
return rv;
|
||||||
nsCOMPtr<nsIStyleContext> newStyleContext;
|
nsCOMPtr<nsIStyleContext> newStyleContext;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче