Fix static initializers in ftl_services_context.cc.
Calculate |kBackoffPolicy| on first use at a local scope instead. Because base::TimeDelta::InMilliseconds() and friends are not constexpr, a global that calls them must do so during process startup. Remove deprecated DISALLOW_IMPLICIT_CONSTRUCTORS() usage along the way. Bug: 537099 Change-Id: If1680816bc18107f7b15e366e205b409c92bf0b3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2430299Reviewed-by:Yuwei Huang <yuweih@chromium.org> Reviewed-by:
Thomas Anderson <thomasanderson@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#810860}
Showing
Please register or sign in to comment