summaryrefslogtreecommitdiffstats
path: root/url
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-25 00:55:50 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-25 00:55:50 +0000
commit00c83cc02884f255924ae1c6799ea6fce3696d31 (patch)
tree33e210f054d5f45d46d18b2fe135dac15f74d444 /url
parent9747a179f0d71d17db4d9675bc913f59194e2027 (diff)
downloadchromium_src-00c83cc02884f255924ae1c6799ea6fce3696d31.zip
chromium_src-00c83cc02884f255924ae1c6799ea6fce3696d31.tar.gz
chromium_src-00c83cc02884f255924ae1c6799ea6fce3696d31.tar.bz2
Make inttypes.h and similar macro usage C++11-friendly.
"foo"PRIuS is a user-defined literal in C++11. Add spaces around these macros. Likewise, L"\xab"L"c" is a user-defined literal, so insert a space in the middle. No functionality change. BUG=chromium:263960 TBR=alokp@chromium.org, dmichael@chromium.org, enne@chromium.org, isherman@chromium.org, rsleevi@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/20182002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213566 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'url')
-rw-r--r--url/url_canon_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/url/url_canon_unittest.cc b/url/url_canon_unittest.cc
index b3c129d..f6cd3a2 100644
--- a/url/url_canon_unittest.cc
+++ b/url/url_canon_unittest.cc
@@ -378,7 +378,7 @@ TEST(URLCanonTest, Host) {
{NULL, L"GOO\x200b\x2060\xfeffgoo.com", "googoo.com", url_parse::Component(0, 10), CanonHostInfo::NEUTRAL, -1, ""},
// Ideographic full stop (full-width period for Chinese, etc.) should be
// treated as a dot.
- {NULL, L"www.foo\x3002"L"bar.com", "www.foo.bar.com", url_parse::Component(0, 15), CanonHostInfo::NEUTRAL, -1, ""},
+ {NULL, L"www.foo\x3002" L"bar.com", "www.foo.bar.com", url_parse::Component(0, 15), CanonHostInfo::NEUTRAL, -1, ""},
// Invalid unicode characters should fail...
// ...In wide input, ICU will barf and we'll end up with the input as
// escaped UTF-8 (the invalid character should be replaced with the