summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-30 20:00:02 +0000
committermdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-30 20:00:02 +0000
commitcaa941cc7a552988588e90dbdf83a2cff0b7b1f0 (patch)
treef39ba1cf5458b1479892d9c36d73963dd36c0756 /net
parent27506acdd852ec19c67c566dc6a1e157e57a941a (diff)
downloadchromium_src-caa941cc7a552988588e90dbdf83a2cff0b7b1f0.zip
chromium_src-caa941cc7a552988588e90dbdf83a2cff0b7b1f0.tar.gz
chromium_src-caa941cc7a552988588e90dbdf83a2cff0b7b1f0.tar.bz2
gcc >= 4.3 fixes
Patch from joel.stan@gmail.com: http://codereview.chromium.org/160377 BUG=none TEST=none Review URL: http://codereview.chromium.org/159648 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22085 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/base/net_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/net_util.cc b/net/base/net_util.cc
index 0280338..d51181c 100644
--- a/net/base/net_util.cc
+++ b/net/base/net_util.cc
@@ -638,7 +638,7 @@ bool IsIDNComponentSafe(const char16* str,
std::string languages_list(WideToASCII(languages));
StringTokenizer t(languages_list, ",");
while (t.GetNext()) {
- if (safe = IsComponentCoveredByLang(component_characters, t.token()))
+ if ((safe = IsComponentCoveredByLang(component_characters, t.token())))
break;
}
return safe;