summaryrefslogtreecommitdiff
path: root/common_service_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'common_service_unittest.cc')
-rw-r--r--common_service_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/common_service_unittest.cc b/common_service_unittest.cc
index 0a7bfc34..17265b9b 100644
--- a/common_service_unittest.cc
+++ b/common_service_unittest.cc
@@ -29,7 +29,7 @@
using std::string;
using testing::Return;
-using testing::SetArgumentPointee;
+using testing::SetArgPointee;
using testing::_;
namespace chromeos_update_engine {
@@ -82,7 +82,7 @@ TEST_F(UpdateEngineServiceTest, SetChannelWithDelegatedPolicy) {
policy::MockDevicePolicy mock_device_policy;
fake_system_state_.set_device_policy(&mock_device_policy);
EXPECT_CALL(mock_device_policy, GetReleaseChannelDelegated(_))
- .WillOnce(DoAll(SetArgumentPointee<0>(true), Return(true)));
+ .WillOnce(DoAll(SetArgPointee<0>(true), Return(true)));
EXPECT_CALL(*fake_system_state_.mock_request_params(),
SetTargetChannel("beta-channel", true, _))
.WillOnce(Return(true));