Index: app/bidi_line_iterator.h |
diff --git a/app/bidi_line_iterator.h b/app/bidi_line_iterator.h |
index 178d775f2439bf017f30ffd89b032277fe7c3c68..a4faa2f8dbee08a224c41ff241e45f1e883eb7e4 100644 |
--- a/app/bidi_line_iterator.h |
+++ b/app/bidi_line_iterator.h |
@@ -11,6 +11,7 @@ |
#include "unicode/ubidi.h" |
#include "base/basictypes.h" |
+#include "base/string16.h" |
// A simple wrapper class for the bidirectional iterator of ICU. |
// This class uses the bidirectional iterator of ICU to split a line of |
@@ -22,7 +23,7 @@ class BiDiLineIterator { |
// Initializes the bidirectional iterator with the specified text. Returns |
// whether initialization succeeded. |
- UBool Open(const std::wstring& text, bool right_to_left, bool url); |
+ UBool Open(const string16& text, bool right_to_left, bool url); |
// Returns the number of visual runs in the text, or zero on error. |
int CountRuns(); |