Enable -Wglobal-constructors in //base.
Fix an unintentional dynamic allocation in base/android.
Explicitly allow dynamic allocation in two other places
where compile-time isn't possible and I *think* are benign.
Bug: 801563, 800760
Change-Id: I183e18d21af31625a8729aff44b89be85dcd1220
Reviewed-on: https://chromium-review.googlesource.com/866738
Commit-Queue: Gabriel Charette <gab@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#530465}
CrOS-Libchrome-Original-Commit: a9698a9ad30bff2bfc150fddd4b380b05d6c6eff
1 file changed