Bug 1270374 - Create style context with correct pseudo tag in ServoStyleSet::ResolveAnonymousBoxStyle. r=bholley

This commit is contained in:
Cameron McCormack 2016-05-04 22:33:00 -04:00
parent 9adeb967f0
commit e0e0348a4f

View File

@ -172,7 +172,7 @@ ServoStyleSet::ResolveAnonymousBoxStyle(nsIAtom* aPseudoTag,
mRawSet.get()));
MOZ_ASSERT(computedValues);
return NS_NewStyleContext(aParentContext, mPresContext, nullptr,
return NS_NewStyleContext(aParentContext, mPresContext, aPseudoTag,
CSSPseudoElementType::AnonBox,
computedValues.forget(), skipFixup);
}