Commit 12a5cb5b authored by Mohamed Amir Yosef's avatar Mohamed Amir Yosef Committed by Commit Bot

[Passwords] Remove unnecessary parsing in the PasswordFormManager

This CL removes obsolete code.

Change-Id: I451253435eab20f3a04b5f10ba79ef9b22c149d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1863930
Commit-Queue: Mohamed Amir Yosef <mamir@chromium.org>
Commit-Queue: Vadym Doroshenko <dvadym@chromium.org>
Reviewed-by: default avatarVadym Doroshenko <dvadym@chromium.org>
Cr-Commit-Position: refs/heads/master@{#706899}
parent 6decbe18
...@@ -344,9 +344,6 @@ void PasswordFormManager::Update(const PasswordForm& credentials_to_update) { ...@@ -344,9 +344,6 @@ void PasswordFormManager::Update(const PasswordForm& credentials_to_update) {
metrics_recorder_->SetSubmissionIndicatorEvent( metrics_recorder_->SetSubmissionIndicatorEvent(
parsed_submitted_form_->submission_event); parsed_submitted_form_->submission_event);
std::unique_ptr<PasswordForm> parsed_observed_form =
parser_.Parse(observed_form_, FormDataParser::Mode::kFilling);
base::string16 password_to_save = pending_credentials_.password_value; base::string16 password_to_save = pending_credentials_.password_value;
bool skip_zero_click = pending_credentials_.skip_zero_click; bool skip_zero_click = pending_credentials_.skip_zero_click;
pending_credentials_ = credentials_to_update; pending_credentials_ = credentials_to_update;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment