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