| Index: third_party/WebKit/LayoutTests/geolocation-api/resources/geolocation-mock.js
|
| diff --git a/third_party/WebKit/LayoutTests/geolocation-api/resources/geolocation-mock.js b/third_party/WebKit/LayoutTests/geolocation-api/resources/geolocation-mock.js
|
| index 40b657d80afa99db488a8fc128d1449c98d2abdc..39d66197def4600bccab32d35f691fa5aa449df0 100644
|
| --- a/third_party/WebKit/LayoutTests/geolocation-api/resources/geolocation-mock.js
|
| +++ b/third_party/WebKit/LayoutTests/geolocation-api/resources/geolocation-mock.js
|
| @@ -60,7 +60,7 @@ let geolocationServiceMock = loadMojoModules(
|
|
|
| connectGeolocation_(handle) {
|
| if (this.rejectGeolocationConnections_) {
|
| - mojo.core.close(handle);
|
| + handle.close();
|
| return;
|
| }
|
| this.geolocationBindingSet_.addBinding(this, handle);
|
| @@ -68,7 +68,7 @@ let geolocationServiceMock = loadMojoModules(
|
|
|
| connectPermission_(handle) {
|
| if (this.rejectPermissionConnections_) {
|
| - mojo.core.close(handle);
|
| + handle.close();
|
| return;
|
| }
|
| this.permissionBindingSet_.addBinding(this, handle);
|
|
|