Commit d118d0cb authored by Dave Tapuska's avatar Dave Tapuska Committed by Commit Bot

Change absl::make_unique to std::make_unique.

These tests accidentally were submitted with absl::make_unique and they
fail when C++17 build flags are set.

BUG=752720

Change-Id: Ia3ec81a155553236e937a8598f2ef174fb7c5719
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1693022Reviewed-by: default avatarVadym Doroshenko <dvadym@chromium.org>
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675652}
parent 461f1446
......@@ -229,7 +229,7 @@ class AutofillCapturedSitesInteractiveTest
const base::FilePath capture_file_path =
GetReplayFilesDirectory().AppendASCII(GetParam().c_str());
SetServerUrlLoader(std::make_unique<test::ServerUrlLoader>(
absl::make_unique<test::ServerCacheReplayer>(
std::make_unique<test::ServerCacheReplayer>(
capture_file_path,
test::ServerCacheReplayer::kOptionFailOnInvalidJsonRecord)));
}
......
......@@ -208,8 +208,8 @@ class CapturedSitesPasswordManagerBrowserTest
GetReplayFilesRootDirectory()
.AppendASCII(GetParam().scenarioDir.c_str())
.AppendASCII(GetParam().siteName.c_str());
SetServerUrlLoader(std::make_unique<ServerUrlLoader>(
absl::make_unique<ServerCacheReplayer>(
SetServerUrlLoader(
std::make_unique<ServerUrlLoader>(std::make_unique<ServerCacheReplayer>(
capture_file_path,
ServerCacheReplayer::kOptionFailOnInvalidJsonRecord)));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment