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

Unified Diff: chrome/browser/profile_resetter/automatic_profile_resetter.cc

Issue 1358513003: Use correct IntToString variants in //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « chrome/browser/predictors/resource_prefetch_predictor.cc ('k') | chrome/browser/profiles/profile_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profile_resetter/automatic_profile_resetter.cc
diff --git a/chrome/browser/profile_resetter/automatic_profile_resetter.cc b/chrome/browser/profile_resetter/automatic_profile_resetter.cc
index e6c886d1e4c76f2e4098a95a0b106b182c2baa35..9386b2786dfc3ac8a7fe8122a3524efb51e89e7b 100644
--- a/chrome/browser/profile_resetter/automatic_profile_resetter.cc
+++ b/chrome/browser/profile_resetter/automatic_profile_resetter.cc
@@ -661,14 +661,14 @@ scoped_ptr<AutomaticProfileResetter::EvaluationResults>
for (size_t i = 0; i < kCombinedStatusMaskNumberOfBits; ++i) {
bool flag = false;
std::string mask_i_th_bit_key =
- kCombinedStatusMaskKeyPrefix + base::IntToString(i + 1);
+ kCombinedStatusMaskKeyPrefix + base::SizeTToString(i + 1);
if (interpreter.GetOutputBoolean(mask_i_th_bit_key, &flag) && flag)
results->combined_status_mask |= (1 << i);
}
for (size_t i = 0; i < kSatisfiedCriteriaMaskNumberOfBits; ++i) {
bool flag = false;
std::string mask_i_th_bit_key =
- kSatisfiedCriteriaMaskKeyPrefix + base::IntToString(i + 1);
+ kSatisfiedCriteriaMaskKeyPrefix + base::SizeTToString(i + 1);
if (interpreter.GetOutputBoolean(mask_i_th_bit_key, &flag) && flag)
results->satisfied_criteria_mask |= (1 << i);
}
« no previous file with comments | « chrome/browser/predictors/resource_prefetch_predictor.cc ('k') | chrome/browser/profiles/profile_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698