commit | c3bcb5c8a1cdb48fa624763df7280b1776ca2a49 | [log] [tgz] |
---|---|---|
author | Jinho Bang <[email protected]> | Mon Jan 15 16:13:00 2018 |
committer | Commit Bot <[email protected]> | Mon Jan 15 16:13:00 2018 |
tree | 0b51ab40238d41b6a686727cef50fa034bafa436 | |
parent | b0937b24ec882796cbb53af75e70abca384099fd [diff] [blame] |
variations: Replace base::MakeUnique with std::make_unique Bug: 755727 Change-Id: I3192ab87637409da6a42b609a6a08a0b605e49bc Reviewed-on: https://chromium-review.googlesource.com/866411 Reviewed-by: Alexei Svitkine <[email protected]> Commit-Queue: Alexei Svitkine <[email protected]> Cr-Commit-Position: refs/heads/master@{#529290}
diff --git a/components/variations/variations_seed_processor_unittest.cc b/components/variations/variations_seed_processor_unittest.cc index da4cb4c5..7979379 100644 --- a/components/variations/variations_seed_processor_unittest.cc +++ b/components/variations/variations_seed_processor_unittest.cc
@@ -17,7 +17,6 @@ #include "base/feature_list.h" #include "base/format_macros.h" #include "base/macros.h" -#include "base/memory/ptr_util.h" #include "base/strings/string_split.h" #include "base/strings/stringprintf.h" #include "base/strings/utf_string_conversions.h" @@ -952,7 +951,7 @@ // An entorpy value of 0.1 will cause the AA group to be chosen, since AA is // the only non-default group, and has a probability percent above 0.1. base::FieldTrialList field_trial_list( - base::MakeUnique<base::MockEntropyProvider>(0.1)); + std::make_unique<base::MockEntropyProvider>(0.1)); // Use a stack instance, since nothing takes ownership of this provider. // This entropy value will cause the default group to be chosen since it's a