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

Unified Diff: chrome/browser/password_manager/password_manager.cc

Issue 20208: Lots of small nits to help to split off webkit.dll.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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
« no previous file with comments | « chrome/browser/autofill_manager.cc ('k') | chrome/browser/renderer_host/resource_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/password_manager.cc
===================================================================
--- chrome/browser/password_manager/password_manager.cc (revision 9653)
+++ chrome/browser/password_manager/password_manager.cc (working copy)
@@ -228,11 +228,12 @@
// schemed password form may have been freed, so we need to distinguish.
bool action_mismatch = form_for_autofill.action.GetWithEmptyPath() !=
preferred_match->action.GetWithEmptyPath();
- scoped_ptr<PasswordFormDomManager::FillData> fill_data(
- PasswordFormDomManager::CreateFillData(form_for_autofill,
- best_matches, preferred_match,
- action_mismatch));
- web_contents_->render_view_host()->FillPasswordForm(*fill_data);
+ PasswordFormDomManager::FillData fill_data;
+ PasswordFormDomManager::InitFillData(form_for_autofill,
+ best_matches, preferred_match,
+ action_mismatch,
+ &fill_data);
+ web_contents_->render_view_host()->FillPasswordForm(fill_data);
return;
}
default:
« no previous file with comments | « chrome/browser/autofill_manager.cc ('k') | chrome/browser/renderer_host/resource_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698