Index: third_party/WebKit/Source/core/css/MediaQuery.cpp |
diff --git a/third_party/WebKit/Source/core/css/MediaQuery.cpp b/third_party/WebKit/Source/core/css/MediaQuery.cpp |
index f440b1c1ced5ca7780bfc08086457829c985638d..4080e0a943832f249c0241a1f6a9616586287582 100644 |
--- a/third_party/WebKit/Source/core/css/MediaQuery.cpp |
+++ b/third_party/WebKit/Source/core/css/MediaQuery.cpp |
@@ -42,10 +42,10 @@ |
StringBuilder result; |
switch (m_restrictor) { |
case MediaQuery::Only: |
- result.append("only "); |
+ result.appendLiteral("only "); |
break; |
case MediaQuery::Not: |
- result.append("not "); |
+ result.appendLiteral("not "); |
break; |
case MediaQuery::None: |
break; |
@@ -58,12 +58,12 @@ |
if (m_mediaType != MediaTypeNames::all || m_restrictor != None) { |
result.append(m_mediaType); |
- result.append(" and "); |
+ result.appendLiteral(" and "); |
} |
result.append(m_expressions.at(0)->serialize()); |
for (size_t i = 1; i < m_expressions.size(); ++i) { |
- result.append(" and "); |
+ result.appendLiteral(" and "); |
result.append(m_expressions.at(i)->serialize()); |
} |
return result.toString(); |