| Index: chrome/browser/chromeos/input_method/input_method_engine.cc
|
| diff --git a/chrome/browser/chromeos/input_method/input_method_engine.cc b/chrome/browser/chromeos/input_method/input_method_engine.cc
|
| index d985f6a565f11cf3e1666c4ddcaca214efb9de65..3c610f6a96bb04af2d085d45eddb6e7439ebc294 100644
|
| --- a/chrome/browser/chromeos/input_method/input_method_engine.cc
|
| +++ b/chrome/browser/chromeos/input_method/input_method_engine.cc
|
| @@ -658,13 +658,13 @@ void InputMethodEngine::CandidateClicked(uint32 index) {
|
|
|
| void InputMethodEngine::SetSurroundingText(const std::string& text,
|
| uint32 cursor_pos,
|
| - uint32 anchor_pos) {
|
| + uint32 anchor_pos,
|
| + uint32 offset_pos) {
|
| if (!CheckProfile())
|
| return;
|
| - observer_->OnSurroundingTextChanged(active_component_id_,
|
| - text,
|
| - static_cast<int>(cursor_pos),
|
| - static_cast<int>(anchor_pos));
|
| + observer_->OnSurroundingTextChanged(
|
| + active_component_id_, text, static_cast<int>(cursor_pos),
|
| + static_cast<int>(anchor_pos), static_cast<int>(offset_pos));
|
| }
|
|
|
| bool InputMethodEngine::CheckProfile() const {
|
|
|