зеркало из https://github.com/mozilla/pjs.git
Fix for not setting reflow state on object frame in printing case bug 97563 r=av sr=attinasi
This commit is contained in:
Родитель
dc54c9f259
Коммит
d3e6c07fba
|
@ -832,7 +832,10 @@ nsObjectFrame::Reflow(nsIPresContext* aPresContext,
|
|||
return HandleChild(aPresContext, aMetrics, aReflowState, aStatus, child);
|
||||
// if we are printing, bail for now
|
||||
nsCOMPtr<nsIPrintContext> thePrinterContext = do_QueryInterface(aPresContext);
|
||||
if (thePrinterContext) return rv;
|
||||
if (thePrinterContext) {
|
||||
aStatus = NS_FRAME_COMPLETE;
|
||||
return rv;
|
||||
}
|
||||
|
||||
// if mInstance is null, we need to determine what kind of object we are and instantiate ourselves
|
||||
if (!mInstanceOwner) {
|
||||
|
|
|
@ -832,7 +832,10 @@ nsObjectFrame::Reflow(nsIPresContext* aPresContext,
|
|||
return HandleChild(aPresContext, aMetrics, aReflowState, aStatus, child);
|
||||
// if we are printing, bail for now
|
||||
nsCOMPtr<nsIPrintContext> thePrinterContext = do_QueryInterface(aPresContext);
|
||||
if (thePrinterContext) return rv;
|
||||
if (thePrinterContext) {
|
||||
aStatus = NS_FRAME_COMPLETE;
|
||||
return rv;
|
||||
}
|
||||
|
||||
// if mInstance is null, we need to determine what kind of object we are and instantiate ourselves
|
||||
if (!mInstanceOwner) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче