| 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 2192a7dd056aceaea2d863d29da2a8884e1749dd..e2ca6d498432f1315e0d4de133d95b6cd684252f 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) {
|
|
|