ceftests: Replace unicode characters with encoded equivalent

This commit is contained in:
Marshall Greenblatt
2022-05-27 14:02:36 +03:00
parent 464efb1162
commit 771e5c7c0c

View File

@ -961,7 +961,7 @@ class OSRTestHandler : public RoutingTestHandler,
browser->GetHost()->SendMouseClickEvent(mouse_event, MBT_LEFT, true, browser->GetHost()->SendMouseClickEvent(mouse_event, MBT_LEFT, true,
1); 1);
// Add some input keys to edit box // Add some input keys to edit box
CefString markedText(""); CefString markedText(L"\u304B");
std::vector<CefCompositionUnderline> underlines; std::vector<CefCompositionUnderline> underlines;
// Use a thin black underline by default. // Use a thin black underline by default.
@ -1004,7 +1004,7 @@ class OSRTestHandler : public RoutingTestHandler,
1); 1);
// Now set some intermediate text composition // Now set some intermediate text composition
CefString markedText(""); CefString markedText(L"\u304B");
std::vector<CefCompositionUnderline> underlines; std::vector<CefCompositionUnderline> underlines;
// Use a thin black underline by default. // Use a thin black underline by default.