Index: views/view_text_utils.cc |
diff --git a/views/view_text_utils.cc b/views/view_text_utils.cc |
index 70cb8b9a73425b3ce332779428168f2f3f5aa18d..cde347caaa5e3f6ea43d2296d3d618989fdaad1c 100644 |
--- a/views/view_text_utils.cc |
+++ b/views/view_text_utils.cc |
@@ -32,7 +32,7 @@ void DrawTextAndPositionUrl(gfx::Canvas* canvas, |
// initialize a bidirectional ICU line iterator and split the text into |
// runs that are either strictly LTR or strictly RTL, with no mix. |
BiDiLineIterator bidi_line; |
- if (!bidi_line.Open(text.c_str(), true, false)) |
+ if (!bidi_line.Open(WideToUTF16Hack(text), true, false)) |
return; |
// Iterate over each run and draw it. |