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

Unified Diff: Source/wtf/tests/WTFString.cpp

Issue 22572005: Remove all uses of the ASCIILiteral class. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm it from wtf Created 7 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/wtf/tests/StringOperators.cpp ('k') | Source/wtf/text/AtomicString.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/tests/WTFString.cpp
diff --git a/Source/wtf/tests/WTFString.cpp b/Source/wtf/tests/WTFString.cpp
index 6ef9c89cfd49b6d5e02e0f1cc24e235f2606f409..4a7b976832257c9070d93fc38009d5ac91b6635b 100644
--- a/Source/wtf/tests/WTFString.cpp
+++ b/Source/wtf/tests/WTFString.cpp
@@ -35,7 +35,7 @@ namespace {
TEST(WTF, StringCreationFromLiteral)
{
- String stringFromLiteral(ASCIILiteral("Explicit construction syntax"));
+ String stringFromLiteral("Explicit construction syntax");
ASSERT_EQ(strlen("Explicit construction syntax"), stringFromLiteral.length());
ASSERT_TRUE(stringFromLiteral == "Explicit construction syntax");
ASSERT_TRUE(stringFromLiteral.is8Bit());
@@ -61,7 +61,7 @@ TEST(WTF, StringASCII)
ASSERT_STREQ("", output.data());
// Regular String.
- output = String(ASCIILiteral("foobar")).ascii();
+ output = String("foobar").ascii();
ASSERT_STREQ("foobar", output.data());
}
« no previous file with comments | « Source/wtf/tests/StringOperators.cpp ('k') | Source/wtf/text/AtomicString.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698