Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(628)

Unified Diff: Source/core/css/parser/BisonCSSParserTest.cpp

Issue 482753002: Use StringBuilder::appendLiteral() / StringBuilder::append(char) when possible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/StylePropertySerializer.cpp ('k') | Source/core/css/resolver/StyleResolverStats.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/BisonCSSParserTest.cpp
diff --git a/Source/core/css/parser/BisonCSSParserTest.cpp b/Source/core/css/parser/BisonCSSParserTest.cpp
index 1a8b3f085c7c25800807d9a8022165ce66d18629..e50068eb8c73e0facba244947831ec0f28c15a92 100644
--- a/Source/core/css/parser/BisonCSSParserTest.cpp
+++ b/Source/core/css/parser/BisonCSSParserTest.cpp
@@ -79,7 +79,7 @@ static void testMediaQuery(const char* expected, MediaQuerySet& querySet)
++i;
if (i >= queryVectorSize)
break;
- output.append(", ");
+ output.appendLiteral(", ");
}
ASSERT_STREQ(expected, output.toString().ascii().data());
}
« no previous file with comments | « Source/core/css/StylePropertySerializer.cpp ('k') | Source/core/css/resolver/StyleResolverStats.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698