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

Unified Diff: chrome/browser/ui/webui/options/password_manager_handler.cc

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 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
Index: chrome/browser/ui/webui/options/password_manager_handler.cc
diff --git a/chrome/browser/ui/webui/options/password_manager_handler.cc b/chrome/browser/ui/webui/options/password_manager_handler.cc
index 332d036f39d7dc7983d0cdcc74c155a3f20f7b7e..c3aacdb38edbf5bd327329ee40d96a124b51aca9 100644
--- a/chrome/browser/ui/webui/options/password_manager_handler.cc
+++ b/chrome/browser/ui/webui/options/password_manager_handler.cc
@@ -245,10 +245,9 @@ void PasswordManagerHandler::ShowPassword(
const std::string& username,
const base::string16& password_value) {
// Call back the front end to reveal the password.
- web_ui()->CallJavascriptFunctionUnsafe(
- "PasswordManager.showPassword",
- base::FundamentalValue(static_cast<int>(index)),
- base::StringValue(password_value));
+ web_ui()->CallJavascriptFunctionUnsafe("PasswordManager.showPassword",
+ base::Value(static_cast<int>(index)),
+ base::StringValue(password_value));
}
void PasswordManagerHandler::HandleUpdatePasswordLists(
« no previous file with comments | « chrome/browser/ui/webui/options/manage_profile_handler.cc ('k') | chrome/browser/ui/webui/options/preferences_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698