From 1f5af444f94761190a16ac6088ad6e6831aeb4a0 Mon Sep 17 00:00:00 2001 From: "brettw@google.com" Date: Thu, 25 Sep 2008 22:11:06 +0000 Subject: Move a bunch of stuff out of WebContents. I removed a bunch of render view host pass-throughs and just made the callers call the render view host directly. I don't think we're trying to isolate the layers to this degree, and WebContents is so big these just added noise. I removed the RenderViewHost->WebContents->SavePackage pass-through by using a delegate that the SavePackage implements (like we already do for find in page). I also noticed some file upload stuff wasn't used at all and removed it. Review URL: http://codereview.chromium.org/4088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2612 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/password_manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/password_manager.cc') diff --git a/chrome/browser/password_manager.cc b/chrome/browser/password_manager.cc index fa4ae3b..38c50d9 100644 --- a/chrome/browser/password_manager.cc +++ b/chrome/browser/password_manager.cc @@ -172,7 +172,7 @@ void PasswordManager::Autofill(const PasswordForm& form_for_autofill, PasswordFormDomManager::CreateFillData(form_for_autofill, best_matches, preferred_match, action_mismatch)); - web_contents_->FillPasswordForm(*fill_data); + web_contents_->render_view_host()->FillPasswordForm(*fill_data); return; } default: -- cgit v1.1