summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
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;