Commit 9fb09e0c authored by tfarina@chromium.org's avatar tfarina@chromium.org

DOMUI: Don't call SetString for fields that doesn't exist in the Password Manager.

BUG=69145
TEST=manual

Review URL: http://codereview.chromium.org/6307004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71616 0039d316-1c4b-4281-b951-d872f2087c98
parent 1f721485
...@@ -44,10 +44,6 @@ void PasswordManagerHandler::GetLocalizedValues( ...@@ -44,10 +44,6 @@ void PasswordManagerHandler::GetLocalizedValues(
l10n_util::GetStringUTF16(IDS_PASSWORDS_PAGE_VIEW_REMOVE_BUTTON)); l10n_util::GetStringUTF16(IDS_PASSWORDS_PAGE_VIEW_REMOVE_BUTTON));
localized_strings->SetString("passwordsRemoveAllButton", localized_strings->SetString("passwordsRemoveAllButton",
l10n_util::GetStringUTF16(IDS_PASSWORDS_PAGE_VIEW_REMOVE_ALL_BUTTON)); l10n_util::GetStringUTF16(IDS_PASSWORDS_PAGE_VIEW_REMOVE_ALL_BUTTON));
localized_strings->SetString("passwordsShowButton",
l10n_util::GetStringUTF16(IDS_PASSWORDS_PAGE_VIEW_SHOW_BUTTON));
localized_strings->SetString("passwordsHideButton",
l10n_util::GetStringUTF16(IDS_PASSWORDS_PAGE_VIEW_HIDE_BUTTON));
localized_strings->SetString("passwordsRemoveAllTitle", localized_strings->SetString("passwordsRemoveAllTitle",
l10n_util::GetStringUTF16( l10n_util::GetStringUTF16(
IDS_PASSWORDS_PAGE_VIEW_CAPTION_DELETE_ALL_PASSWORDS)); IDS_PASSWORDS_PAGE_VIEW_CAPTION_DELETE_ALL_PASSWORDS));
......
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