summaryrefslogtreecommitdiff
path: root/src/core/user_script.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-11-30 11:41:51 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2023-01-06 00:00:55 +0100
commit5121effa745cf88b6d50630249570113941c2ca2 (patch)
tree632ed3f3324667366ced2329459f9ca6205941af /src/core/user_script.cpp
parent5836832dfde5687dae5762509e560e1c7f2258ce (diff)
downloadqtwebengine-5121effa745cf88b6d50630249570113941c2ca2.tar.gz
Adaptations for 108-based
Pick-to: 6.5 Fixes: QTBUG-105147 Change-Id: I0022964903f3443cc97843c62468ab9be8ae2ed8 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
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);