Index: chrome/browser/extensions/api/passwords_private/passwords_private_apitest.cc |
diff --git a/chrome/browser/extensions/api/passwords_private/passwords_private_apitest.cc b/chrome/browser/extensions/api/passwords_private/passwords_private_apitest.cc |
index b49e886c16ee95bd27f69fde712df666c6bdce72..37b6267e6c57c49b70d44b758e857795c21105d6 100644 |
--- a/chrome/browser/extensions/api/passwords_private/passwords_private_apitest.cc |
+++ b/chrome/browser/extensions/api/passwords_private/passwords_private_apitest.cc |
@@ -9,6 +9,7 @@ |
#include "base/command_line.h" |
#include "base/macros.h" |
#include "base/memory/linked_ptr.h" |
+#include "base/memory/ptr_util.h" |
#include "base/observer_list.h" |
#include "base/strings/utf_string_conversions.h" |
#include "base/values.h" |
@@ -133,10 +134,10 @@ class PasswordsPrivateApiTest : public ExtensionApiTest { |
} |
~PasswordsPrivateApiTest() override {} |
- static scoped_ptr<KeyedService> GetPasswordsPrivateDelegate( |
+ static std::unique_ptr<KeyedService> GetPasswordsPrivateDelegate( |
content::BrowserContext* profile) { |
CHECK(s_test_delegate_); |
- return make_scoped_ptr(s_test_delegate_); |
+ return base::WrapUnique(s_test_delegate_); |
} |
void SetUpCommandLine(base::CommandLine* command_line) override { |