Removed code that was printing the word 'embed'. b=37558 r=buster a=leger

This commit is contained in:
attinasi%netscape.com 2000-06-05 21:21:48 +00:00
parent 3b3fad80cc
commit e0876002ed
2 changed files with 0 additions and 22 deletions

View File

@ -1174,17 +1174,6 @@ nsObjectFrame::Paint(nsIPresContext* aPresContext,
aRenderingContext.FillRect(0, 0, mRect.width, mRect.height);
aRenderingContext.SetColor(NS_RGB(0, 0, 0));
aRenderingContext.DrawRect(0, 0, mRect.width, mRect.height);
float p2t;
aPresContext->GetPixelsToTwips(&p2t);
nscoord px3 = NSIntPixelsToTwips(3, p2t);
nsAutoString tmp;
nsIAtom* atom;
mContent->GetTag(atom);
if (nsnull != atom) {
atom->ToString(tmp);
NS_RELEASE(atom);
aRenderingContext.DrawString(tmp, px3, px3);
}
}
#else
// delegate all painting to the plugin instance.

View File

@ -1174,17 +1174,6 @@ nsObjectFrame::Paint(nsIPresContext* aPresContext,
aRenderingContext.FillRect(0, 0, mRect.width, mRect.height);
aRenderingContext.SetColor(NS_RGB(0, 0, 0));
aRenderingContext.DrawRect(0, 0, mRect.width, mRect.height);
float p2t;
aPresContext->GetPixelsToTwips(&p2t);
nscoord px3 = NSIntPixelsToTwips(3, p2t);
nsAutoString tmp;
nsIAtom* atom;
mContent->GetTag(atom);
if (nsnull != atom) {
atom->ToString(tmp);
NS_RELEASE(atom);
aRenderingContext.DrawString(tmp, px3, px3);
}
}
#else
// delegate all painting to the plugin instance.