| Index: chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc
|
| diff --git a/chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc b/chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc
|
| index 58bc6cad8dd158fa79ea70abbe8d764845f88a50..f2721a9bb974eff3a50de90b87dae4a629800c65 100644
|
| --- a/chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc
|
| +++ b/chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc
|
| @@ -152,16 +152,16 @@ void CandidateWindowControllerImpl::UpdateLookupTable(
|
| }
|
|
|
| void CandidateWindowControllerImpl::UpdatePreeditText(
|
| - const std::string& utf8_text, unsigned int cursor, bool visible) {
|
| + const base::string16& text, unsigned int cursor, bool visible) {
|
| // If it's not visible, hide the preedit text and return.
|
| - if (!visible || utf8_text.empty()) {
|
| + if (!visible || text.empty()) {
|
| if (candidate_window_view_)
|
| candidate_window_view_->HidePreeditText();
|
| return;
|
| }
|
| if (!candidate_window_view_)
|
| InitCandidateWindowView();
|
| - candidate_window_view_->UpdatePreeditText(utf8_text);
|
| + candidate_window_view_->UpdatePreeditText(text);
|
| candidate_window_view_->ShowPreeditText();
|
| }
|
|
|
|
|