| Index: components/autofill/content/browser/request_autocomplete_manager.cc
|
| diff --git a/components/autofill/content/browser/request_autocomplete_manager.cc b/components/autofill/content/browser/request_autocomplete_manager.cc
|
| index 31f20f1901f0b1bdf5d716e39b089ee6ef01d3a5..89c08bf7823ff9dbc28dcca21e1f39e509bfe101 100644
|
| --- a/components/autofill/content/browser/request_autocomplete_manager.cc
|
| +++ b/components/autofill/content/browser/request_autocomplete_manager.cc
|
| @@ -66,13 +66,13 @@ void RequestAutocompleteManager::ReturnAutocompleteResult(
|
| AutofillClient::RequestAutocompleteResult result,
|
| const base::string16& debug_message,
|
| const FormStructure* form_structure) {
|
| - // autofill_driver_->GetWebContents() will be NULL when the interactive
|
| + // autofill_driver_->web_contents() will be NULL when the interactive
|
| // autocomplete is closed due to a tab or browser window closing.
|
| - if (!autofill_driver_->GetWebContents())
|
| + if (!autofill_driver_->web_contents())
|
| return;
|
|
|
| content::RenderViewHost* host =
|
| - autofill_driver_->GetWebContents()->GetRenderViewHost();
|
| + autofill_driver_->web_contents()->GetRenderViewHost();
|
| if (!host)
|
| return;
|
|
|
|
|