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 396593274295db4bc04c8468dd87adea763aacef..9662a273eac560ae65fd66c9be668c3455a0edf5 100644 |
--- a/third_party/WebKit/Source/core/css/CSSSelector.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSSelector.cpp |
@@ -671,7 +671,7 @@ String CSSSelector::selectorText(const String& rightSide) const |
break; |
} |
} else if (cs->m_match == PseudoElement) { |
- str.appendLiteral("::"); |
+ str.append("::"); |
str.append(cs->serializingValue()); |
} else if (cs->isAttributeSelector()) { |
str.append('['); |
@@ -690,19 +690,19 @@ String CSSSelector::selectorText(const String& rightSide) const |
str.append(']'); |
break; |
case AttributeList: |
- str.appendLiteral("~="); |
+ str.append("~="); |
break; |
case AttributeHyphen: |
- str.appendLiteral("|="); |
+ str.append("|="); |
break; |
case AttributeBegin: |
- str.appendLiteral("^="); |
+ str.append("^="); |
break; |
case AttributeEnd: |
- str.appendLiteral("$="); |
+ str.append("$="); |
break; |
case AttributeContain: |
- str.appendLiteral("*="); |
+ str.append("*="); |
break; |
default: |
break; |
@@ -710,7 +710,7 @@ String CSSSelector::selectorText(const String& rightSide) const |
if (cs->m_match != AttributeSet) { |
serializeString(cs->serializingValue(), str); |
if (cs->attributeMatch() == CaseInsensitive) |
- str.appendLiteral(" i"); |
+ str.append(" i"); |
str.append(']'); |
} |
} |