diff --git a/mozilla/content/html/style/src/nsHTMLStyleSheet.cpp b/mozilla/content/html/style/src/nsHTMLStyleSheet.cpp index 290239f8bb3..285c37baad1 100644 --- a/mozilla/content/html/style/src/nsHTMLStyleSheet.cpp +++ b/mozilla/content/html/style/src/nsHTMLStyleSheet.cpp @@ -1658,7 +1658,7 @@ HTMLStyleSheetImpl::ConstructFrame(nsIPresContext* aPresContext, aParentFrame->GetContent(parentContent); } styleContext = aPresContext->ResolvePseudoStyleContextFor(parentContent, - nsHTMLAtoms::text, + nsHTMLAtoms::textPseudo, parentStyleContext); NS_IF_RELEASE(parentContent); } else { diff --git a/mozilla/layout/html/style/src/nsHTMLStyleSheet.cpp b/mozilla/layout/html/style/src/nsHTMLStyleSheet.cpp index 290239f8bb3..285c37baad1 100644 --- a/mozilla/layout/html/style/src/nsHTMLStyleSheet.cpp +++ b/mozilla/layout/html/style/src/nsHTMLStyleSheet.cpp @@ -1658,7 +1658,7 @@ HTMLStyleSheetImpl::ConstructFrame(nsIPresContext* aPresContext, aParentFrame->GetContent(parentContent); } styleContext = aPresContext->ResolvePseudoStyleContextFor(parentContent, - nsHTMLAtoms::text, + nsHTMLAtoms::textPseudo, parentStyleContext); NS_IF_RELEASE(parentContent); } else { diff --git a/mozilla/layout/style/nsHTMLStyleSheet.cpp b/mozilla/layout/style/nsHTMLStyleSheet.cpp index 290239f8bb3..285c37baad1 100644 --- a/mozilla/layout/style/nsHTMLStyleSheet.cpp +++ b/mozilla/layout/style/nsHTMLStyleSheet.cpp @@ -1658,7 +1658,7 @@ HTMLStyleSheetImpl::ConstructFrame(nsIPresContext* aPresContext, aParentFrame->GetContent(parentContent); } styleContext = aPresContext->ResolvePseudoStyleContextFor(parentContent, - nsHTMLAtoms::text, + nsHTMLAtoms::textPseudo, parentStyleContext); NS_IF_RELEASE(parentContent); } else {