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

Unified Diff: chrome/browser/metrics/android_metrics_provider.cc

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix Created 4 years, 1 month 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/io_thread.cc ('k') | chrome/browser/metrics/chrome_metrics_service_accessor_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/android_metrics_provider.cc
diff --git a/chrome/browser/metrics/android_metrics_provider.cc b/chrome/browser/metrics/android_metrics_provider.cc
index 24995a3939e9c600d993a0ecf5afa4509afb3d27..c7f89e1f368d9c8ab42f1fed5ac11596193c953c 100644
--- a/chrome/browser/metrics/android_metrics_provider.cc
+++ b/chrome/browser/metrics/android_metrics_provider.cc
@@ -19,7 +19,7 @@ namespace {
void IncrementListValue(base::ListValue* counts, int index) {
int current_count = 0;
counts->GetInteger(index, &current_count);
- counts->Set(index, new base::FundamentalValue(current_count + 1));
+ counts->Set(index, new base::Value(current_count + 1));
}
// Takes an int corresponding to a Type and returns the corresponding flag.
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/metrics/chrome_metrics_service_accessor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698