| Index: chrome/browser/tab_contents/spelling_menu_observer.cc
|
| diff --git a/chrome/browser/tab_contents/spelling_menu_observer.cc b/chrome/browser/tab_contents/spelling_menu_observer.cc
|
| index e38828077499ebdddd26592a1e3edfc2c4b33291..485f42affe8225155556917d8c165a01b183d657 100644
|
| --- a/chrome/browser/tab_contents/spelling_menu_observer.cc
|
| +++ b/chrome/browser/tab_contents/spelling_menu_observer.cc
|
| @@ -254,7 +254,7 @@ void SpellingMenuObserver::OnTextCheckComplete(
|
| typedef std::vector<WebKit::WebTextCheckingResult> WebTextCheckingResults;
|
| for (WebTextCheckingResults::const_iterator it = results.begin();
|
| it != results.end(); ++it) {
|
| - result_.replace(it->position, it->length, it->replacement);
|
| + result_.replace(it->location, it->length, it->replacement);
|
| }
|
| for (std::vector<string16>::const_iterator it = suggestions_.begin();
|
| it != suggestions_.end(); ++it) {
|
|
|