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

Unified Diff: components/login/screens/screen_context.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
« no previous file with comments | « components/login/base_screen_handler_utils.cc ('k') | components/ownership/owner_settings_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/login/screens/screen_context.cc
diff --git a/components/login/screens/screen_context.cc b/components/login/screens/screen_context.cc
index 37a307ec3b6c3c5868ddf8459991a63257cfc385..4021855c257dc2e32f7025caa8f93a70ba6c8f34 100644
--- a/components/login/screens/screen_context.cc
+++ b/components/login/screens/screen_context.cc
@@ -32,15 +32,15 @@ ScreenContext::~ScreenContext() {
}
bool ScreenContext::SetBoolean(const KeyType& key, bool value) {
- return Set(key, new base::FundamentalValue(value));
+ return Set(key, new base::Value(value));
}
bool ScreenContext::SetInteger(const KeyType& key, int value) {
- return Set(key, new base::FundamentalValue(value));
+ return Set(key, new base::Value(value));
}
bool ScreenContext::SetDouble(const KeyType& key, double value) {
- return Set(key, new base::FundamentalValue(value));
+ return Set(key, new base::Value(value));
}
bool ScreenContext::SetString(const KeyType& key, const std::string& value) {
« no previous file with comments | « components/login/base_screen_handler_utils.cc ('k') | components/ownership/owner_settings_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698