Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / components / autofill / content / browser / request_autocomplete_manager.cc
index 31f20f1..89c08bf 100644 (file)
@@ -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;