| Index: Source/modules/geolocation/GeolocationController.cpp
|
| diff --git a/Source/modules/geolocation/GeolocationController.cpp b/Source/modules/geolocation/GeolocationController.cpp
|
| index 1c1f8bf30420eb20e4397a34610699a98003b0d0..78151301cb3b03726b92a9dda7c539d99cae668c 100644
|
| --- a/Source/modules/geolocation/GeolocationController.cpp
|
| +++ b/Source/modules/geolocation/GeolocationController.cpp
|
| @@ -181,6 +181,8 @@ GeolocationPosition* GeolocationController::lastPosition()
|
|
|
| void GeolocationController::setClientForTest(GeolocationClient* client)
|
| {
|
| + if (m_hasClientForTest)
|
| + m_client->controllerForTestRemoved(this);
|
| m_client = client;
|
| m_hasClientForTest = true;
|
|
|
|
|