Index: chrome/browser/extensions/api/identity/identity_apitest.cc |
diff --git a/chrome/browser/extensions/api/identity/identity_apitest.cc b/chrome/browser/extensions/api/identity/identity_apitest.cc |
index c6d1abd972f5cfe39e303fcbab1f8c0d9c359e57..ed567e1988545caf83a65444ebcfbd50e757c8cf 100644 |
--- a/chrome/browser/extensions/api/identity/identity_apitest.cc |
+++ b/chrome/browser/extensions/api/identity/identity_apitest.cc |
@@ -97,7 +97,7 @@ class SendResponseDelegate |
bool GetResponse() { |
EXPECT_TRUE(HasResponse()); |
- return *response_.get(); |
+ return *response_; |
} |
void OnSendResponse(UIThreadExtensionFunction* function, |
@@ -626,7 +626,7 @@ class IdentityGetProfileUserInfoFunctionTest : public IdentityTestWithSignin { |
func->set_extension(test_util::CreateEmptyExtension(kExtensionId).get()); |
std::unique_ptr<base::Value> value( |
utils::RunFunctionAndReturnSingleResult(func.get(), "[]", browser())); |
- return api::identity::ProfileUserInfo::FromValue(*value.get()); |
+ return api::identity::ProfileUserInfo::FromValue(*value); |
} |
std::unique_ptr<api::identity::ProfileUserInfo> |
@@ -636,7 +636,7 @@ class IdentityGetProfileUserInfoFunctionTest : public IdentityTestWithSignin { |
func->set_extension(CreateExtensionWithEmailPermission()); |
std::unique_ptr<base::Value> value( |
utils::RunFunctionAndReturnSingleResult(func.get(), "[]", browser())); |
- return api::identity::ProfileUserInfo::FromValue(*value.get()); |
+ return api::identity::ProfileUserInfo::FromValue(*value); |
} |
private: |