Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Unified Diff: components/autofill/content/browser/request_autocomplete_manager.cc

Issue 525793002: Make WebContentsObserver::web_contents() public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « components/autofill/content/browser/content_autofill_driver.cc ('k') | content/browser/download/save_package.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698