diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-18 17:35:12 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-18 17:35:12 +0000 |
commit | 22b28c134e75d3f48479a42531f07776fd466d0f (patch) | |
tree | 84376af62d5b8ec1ba457b927658034e767ec6b7 /views | |
parent | b1357f5d438d1ee75973684e0bbd9445907c19aa (diff) | |
download | chromium_src-22b28c134e75d3f48479a42531f07776fd466d0f.zip chromium_src-22b28c134e75d3f48479a42531f07776fd466d0f.tar.gz chromium_src-22b28c134e75d3f48479a42531f07776fd466d0f.tar.bz2 |
Some wstring -> string16 conversion in src/app.
It looks like l10n_util_dummy.cc isn't needed anymore: The function
in the file doesn't match any functions in l10n_util.h.
Convert BidiLineIterator to use string16. I don't see any unittests
for this file. :(
BUG=23581
TEST=None
Review URL: http://codereview.chromium.org/6315002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71667 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r-- | views/view_text_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/view_text_utils.cc b/views/view_text_utils.cc index 70cb8b9..cde347c 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. |