Index: Source/core/inspector/InspectorFrontendHost.cpp |
diff --git a/Source/core/inspector/InspectorFrontendHost.cpp b/Source/core/inspector/InspectorFrontendHost.cpp |
index d80087eee5a20e0d283812c880571d2d99a7822c..e5ad251973e0220bc18955d97610c95f1774aefe 100644 |
--- a/Source/core/inspector/InspectorFrontendHost.cpp |
+++ b/Source/core/inspector/InspectorFrontendHost.cpp |
@@ -165,7 +165,7 @@ static String escapeUnicodeNonCharacters(const String& str) |
StringBuilder dst; |
for (unsigned i = 0; i < str.length(); ++i) { |
UChar c = str[i]; |
- if (c > 126) { |
+ if (c >= 0xD800) { |
unsigned symbol = static_cast<unsigned>(c); |
String symbolCode = String::format("\\u%04X", symbol); |
dst.append(symbolCode); |