Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
This commit is contained in:
@@ -302,7 +302,7 @@ HasTextFrameDescendant(nsPresContext* aPresContext, nsIFrame* aParent)
|
||||
for (nsIFrame* kid = aParent->GetFirstChild(nsnull); kid;
|
||||
kid = kid->GetNextSibling())
|
||||
{
|
||||
if (kid->GetType() == nsLayoutAtoms::textFrame) {
|
||||
if (kid->GetType() == nsGkAtoms::textFrame) {
|
||||
// This is only a candidate. We need to determine if this text
|
||||
// frame is empty, as in containing only (non-pre) whitespace.
|
||||
// See bug 20163.
|
||||
|
||||
Reference in New Issue
Block a user