replace base::MakeUnique with std::make_unique

This commit is contained in:
Shelley Vohr 2018-04-12 08:48:32 -04:00
parent 97fb15ac49
commit b05932310b
No known key found for this signature in database
GPG key ID: F13993A75599653C
28 changed files with 50 additions and 50 deletions

View file

@ -149,7 +149,7 @@ net::URLRequestContextGetter* BrowserContext::CreateRequestContext(
}
std::unique_ptr<net::NetworkDelegate> BrowserContext::CreateNetworkDelegate() {
return base::MakeUnique<NetworkDelegate>();
return std::make_unique<NetworkDelegate>();
}
std::string BrowserContext::GetMediaDeviceIDSalt() {
@ -165,7 +165,7 @@ base::FilePath BrowserContext::GetPath() const {
std::unique_ptr<content::ZoomLevelDelegate>
BrowserContext::CreateZoomLevelDelegate(const base::FilePath& partition_path) {
if (!IsOffTheRecord()) {
return base::MakeUnique<ZoomLevelDelegate>(prefs(), partition_path);
return std::make_unique<ZoomLevelDelegate>(prefs(), partition_path);
}
return std::unique_ptr<content::ZoomLevelDelegate>();
}