| Index: blimp/engine/feature/geolocation/blimp_location_provider_unittest.cc
|
| diff --git a/blimp/engine/feature/geolocation/blimp_location_provider_unittest.cc b/blimp/engine/feature/geolocation/blimp_location_provider_unittest.cc
|
| index 2fe69b3815798e8ebe616353d2a1cd5ac8a626c7..8258c99db45c7f4f78fb8607a00186b15d8bcbd7 100644
|
| --- a/blimp/engine/feature/geolocation/blimp_location_provider_unittest.cc
|
| +++ b/blimp/engine/feature/geolocation/blimp_location_provider_unittest.cc
|
| @@ -107,14 +107,14 @@ TEST_F(BlimpLocationProviderTest, LocationProviderDeleted) {
|
| }
|
|
|
| TEST_F(BlimpLocationProviderTest, OnPermissionGranted) {
|
| - EXPECT_CALL(*delegate_, RequestRefresh()).Times(1);
|
| + EXPECT_CALL(*delegate_, OnPermissionGranted()).Times(1);
|
|
|
| location_provider_->StartProvider(true);
|
| location_provider_->OnPermissionGranted();
|
| }
|
|
|
| TEST_F(BlimpLocationProviderTest, OnPermissionGrantedHandlesNullDelegate) {
|
| - EXPECT_CALL(*delegate_, RequestRefresh()).Times(0);
|
| + EXPECT_CALL(*delegate_, OnPermissionGranted()).Times(0);
|
|
|
| location_provider_->StartProvider(true);
|
| delegate_.reset();
|
|
|