Index: chrome/browser/extensions/api/management/management_api_browsertest.cc |
diff --git a/chrome/browser/extensions/api/management/management_api_browsertest.cc b/chrome/browser/extensions/api/management/management_api_browsertest.cc |
index 3bfa548b761e81ccad0286fa597f27f5e448fa8f..663566748dc172af9b3cb696bd1c9a2c7a36ba13 100644 |
--- a/chrome/browser/extensions/api/management/management_api_browsertest.cc |
+++ b/chrome/browser/extensions/api/management/management_api_browsertest.cc |
@@ -156,8 +156,8 @@ IN_PROC_BROWSER_TEST_F(ExtensionManagementApiBrowserTest, |
// The management API should list this extension. |
scoped_refptr<ManagementGetAllFunction> function = |
new ManagementGetAllFunction(); |
- scoped_ptr<base::Value> result(util::RunFunctionAndReturnSingleResult( |
- function.get(), "[]", browser())); |
+ std::unique_ptr<base::Value> result( |
+ util::RunFunctionAndReturnSingleResult(function.get(), "[]", browser())); |
base::ListValue* list; |
ASSERT_TRUE(result->GetAsList(&list)); |
EXPECT_EQ(1U, list->GetSize()); |
@@ -242,10 +242,8 @@ IN_PROC_BROWSER_TEST_F(ExtensionManagementApiEscalationTest, |
DisabledReason) { |
scoped_refptr<ManagementGetFunction> function = |
new ManagementGetFunction(); |
- scoped_ptr<base::Value> result(util::RunFunctionAndReturnSingleResult( |
- function.get(), |
- base::StringPrintf("[\"%s\"]", kId), |
- browser())); |
+ std::unique_ptr<base::Value> result(util::RunFunctionAndReturnSingleResult( |
+ function.get(), base::StringPrintf("[\"%s\"]", kId), browser())); |
ASSERT_TRUE(result.get() != NULL); |
ASSERT_TRUE(result->IsType(base::Value::TYPE_DICTIONARY)); |
base::DictionaryValue* dict = |