commit | a0b914dcebb6bf420b2d73dd3977051b3fac20d2 | [log] [tgz] |
---|---|---|
author | Peter Kasting <pkasting@chromium.org> | Thu Jul 14 18:43:19 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 14 18:43:19 2022 |
tree | 3313b0102475e2d6c9b10a53f439969b266fe68d | |
parent | 6f80b38c9ef19fea5595b3e3e47b49751b0bcbbb [diff] [blame] |
Reland "Prevent unsafe narrowing: base/ for Linux part 2 of n" Bug: 1292951 Change-Id: I2ba0e069a26ebac13dcd4ae162764d28d90f4a73 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3758876 Reviewed-by: danakj <danakj@chromium.org> Owners-Override: danakj <danakj@chromium.org> Commit-Queue: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/main@{#1024348}
diff --git a/storage/browser/quota/quota_settings.cc b/storage/browser/quota/quota_settings.cc index c2a5a20..718e6cf 100644 --- a/storage/browser/quota/quota_settings.cc +++ b/storage/browser/quota/quota_settings.cc
@@ -37,7 +37,7 @@ } QuotaSettings CalculateIncognitoDynamicSettings( - int64_t physical_memory_amount) { + uint64_t physical_memory_amount) { // The incognito pool size is a fraction of the amount of system memory. double incognito_pool_size_ratio = kIncognitoQuotaRatioLowerBound +