Index: third_party/WebKit/Source/core/css/CSSSelector.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSSelector.cpp b/third_party/WebKit/Source/core/css/CSSSelector.cpp |
index 2910c45972c2fd945cbc0bc497337606b813006f..24614344a7a7ddb492bd9433d31d07105abf8449 100644 |
--- a/third_party/WebKit/Source/core/css/CSSSelector.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSSelector.cpp |
@@ -652,10 +652,6 @@ String CSSSelector::selectorText(const String& rightSide) const |
} else if (cs->m_match == PseudoElement) { |
str.appendLiteral("::"); |
str.append(cs->serializingValue()); |
- // ::content is always stored at the end of the compound. |
- if (cs->pseudoType() == PseudoContent && cs->relation() == SubSelector && cs->tagHistory()) { |
- return cs->tagHistory()->selectorText() + str.toString() + rightSide; |
- } |
} else if (cs->isAttributeSelector()) { |
str.append('['); |
const AtomicString& prefix = cs->attribute().prefix(); |