diff --git a/connections/implementation/client_proxy_test.cc b/connections/implementation/client_proxy_test.cc index a1ca21e5..d87c6b7b 100644 --- a/connections/implementation/client_proxy_test.cc +++ b/connections/implementation/client_proxy_test.cc @@ -1400,9 +1400,9 @@ TEST_F(ClientProxyTest, GetLocalDeviceWorksWithDeviceProvider) { MockDeviceProvider provider; client1()->RegisterDeviceProvider(&provider); ASSERT_NE(client1()->GetLocalDeviceProvider(), nullptr); - EXPECT_CALL( - *(down_cast(client1()->GetLocalDeviceProvider())), - GetLocalDevice); + EXPECT_CALL(*(absl::down_cast( + client1()->GetLocalDeviceProvider())), + GetLocalDevice); client1()->GetLocalDevice(); }