зеркало из 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;
|
||||
}
|
||||
|
||||
nsCharMetrics(const nsReflowMetrics& aReflowMetrics) {
|
||||
nsCharMetrics(const nsHTMLReflowMetrics& aReflowMetrics) {
|
||||
width = aReflowMetrics.width;
|
||||
height = aReflowMetrics.height;
|
||||
ascent = aReflowMetrics.ascent;
|
||||
|
|
|
@ -355,7 +355,7 @@ nsMathMLContainerFrame::SetInitialChildList(nsIPresContext& aPresContext,
|
|||
if (inlineFrame) {
|
||||
// create a new anonymous block frame to wrap this child...
|
||||
nsIFrame* anonymous;
|
||||
rv = NS_NewAnonymousBlockFrame(&anonymous);
|
||||
rv = NS_NewBlockFrame(&anonymous);
|
||||
if (NS_FAILED(rv))
|
||||
return rv;
|
||||
nsCOMPtr<nsIStyleContext> newStyleContext;
|
||||
|
|
Загрузка…
Ссылка в новой задаче