summaryrefslogtreecommitdiffstats
path: root/src/core/user_script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/user_script.cpp')
-rw-r--r--src/core/user_script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/user_script.cpp b/src/core/user_script.cpp
index 47c4fd528..c33fb9081 100644
--- a/src/core/user_script.cpp
+++ b/src/core/user_script.cpp
@@ -20,7 +20,7 @@ bool GetDeclarationValue(const base::StringPiece& line,
std::string temp(line.data() + index + prefix.length(),
line.length() - index - prefix.length());
- if (temp.empty() || !base::IsUnicodeWhitespace(temp[0]))
+ if (temp.empty() || !base::IsWhitespace(temp[0]))
return false;
base::TrimWhitespaceASCII(temp, base::TRIM_ALL, value);