Index: chrome/installer/util/scoped_user_protocol_entry_unittest.cc |
diff --git a/chrome/installer/util/scoped_user_protocol_entry_unittest.cc b/chrome/installer/util/scoped_user_protocol_entry_unittest.cc |
index bf308376c156898f94f75e70c598ff1f6acc57c0..b7e3eea1914c57c762ebe5900707ee588cf2a8a2 100644 |
--- a/chrome/installer/util/scoped_user_protocol_entry_unittest.cc |
+++ b/chrome/installer/util/scoped_user_protocol_entry_unittest.cc |
@@ -37,7 +37,7 @@ class ScopedUserProtocolEntryTest : public testing::Test { |
void CreateScopedUserProtocolEntryAndVerifyRegistryValue( |
const base::string16& expected_entry_value) { |
- entry_ = base::WrapUnique(new ScopedUserProtocolEntry(L"http")); |
+ entry_ = base::MakeUnique<ScopedUserProtocolEntry>(L"http"); |
ASSERT_TRUE(RegistryEntry(kProtocolEntryKeyPath, kProtocolEntryName, |
expected_entry_value) |
.ExistsInRegistry(RegistryEntry::LOOK_IN_HKCU)); |