| Index: chrome/browser/autofill/autofill_external_delegate.cc
|
| diff --git a/chrome/browser/autofill/autofill_external_delegate.cc b/chrome/browser/autofill/autofill_external_delegate.cc
|
| index 90f71a873a43ec6b91a1d3da32f84c2d89fbfd2f..16d3ff5148f3d78ae24ff7b88ee15e31dfe423f1 100644
|
| --- a/chrome/browser/autofill/autofill_external_delegate.cc
|
| +++ b/chrome/browser/autofill/autofill_external_delegate.cc
|
| @@ -9,6 +9,7 @@
|
| #include "chrome/common/autofill_messages.h"
|
| #include "chrome/common/chrome_constants.h"
|
| #include "content/browser/renderer_host/render_view_host.h"
|
| +#include "content/browser/tab_contents/tab_contents.h"
|
| #include "grit/generated_resources.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
|
|
| @@ -24,7 +25,8 @@ AutofillExternalDelegate::AutofillExternalDelegate(
|
| }
|
|
|
| void AutofillExternalDelegate::SelectAutofillSuggestionAtIndex(int listIndex) {
|
| - RenderViewHost* host = tab_contents_wrapper_->render_view_host();
|
| + RenderViewHost* host =
|
| + tab_contents_wrapper_->tab_contents()->render_view_host();
|
| host->Send(new AutofillMsg_SelectAutofillSuggestionAtIndex(
|
| host->routing_id(),
|
| listIndex));
|
|
|