зеркало из https://github.com/mozilla/pjs.git
#44422, r=buster
This commit is contained in:
Родитель
0521d8724e
Коммит
1a13af6589
|
@ -523,9 +523,9 @@ nsObjectFrame::Reflow(nsIPresContext* aPresContext,
|
||||||
|
|
||||||
// could be an image
|
// could be an image
|
||||||
nsIFrame * child = mFrames.FirstChild();
|
nsIFrame * child = mFrames.FirstChild();
|
||||||
if(child != nsnull) {
|
if(child != nsnull)
|
||||||
nsresult imageResult = HandleImage(aPresContext, aMetrics, aReflowState, aStatus, child);
|
return HandleImage(aPresContext, aMetrics, aReflowState, aStatus, child);
|
||||||
}
|
|
||||||
// if mInstance is null, we need to determine what kind of object we are and instantiate ourselves
|
// if mInstance is null, we need to determine what kind of object we are and instantiate ourselves
|
||||||
if(!mInstanceOwner)
|
if(!mInstanceOwner)
|
||||||
{
|
{
|
||||||
|
|
|
@ -523,9 +523,9 @@ nsObjectFrame::Reflow(nsIPresContext* aPresContext,
|
||||||
|
|
||||||
// could be an image
|
// could be an image
|
||||||
nsIFrame * child = mFrames.FirstChild();
|
nsIFrame * child = mFrames.FirstChild();
|
||||||
if(child != nsnull) {
|
if(child != nsnull)
|
||||||
nsresult imageResult = HandleImage(aPresContext, aMetrics, aReflowState, aStatus, child);
|
return HandleImage(aPresContext, aMetrics, aReflowState, aStatus, child);
|
||||||
}
|
|
||||||
// if mInstance is null, we need to determine what kind of object we are and instantiate ourselves
|
// if mInstance is null, we need to determine what kind of object we are and instantiate ourselves
|
||||||
if(!mInstanceOwner)
|
if(!mInstanceOwner)
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче