Index: third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/geolocation-mock.js |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/geolocation-mock.js b/third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/geolocation-mock.js |
index 836c79d69e1f587a21de25b7a58d80172f77ed62..007ee3d2df3f60aae8ed920244e406c5f20f5e80 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/geolocation-mock.js |
+++ b/third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/geolocation-mock.js |
@@ -55,7 +55,7 @@ let geolocationServiceMock = loadMojoModules( |
connectGeolocation_(handle) { |
if (this.rejectGeolocationConnections_) { |
- mojo.core.close(handle); |
+ handle.close(); |
return; |
} |
this.geolocationStub_ = new geolocation.GeolocationService.stubClass( |
@@ -66,7 +66,7 @@ let geolocationServiceMock = loadMojoModules( |
connectPermission_(handle) { |
if (this.rejectPermissionConnections_) { |
- mojo.core.close(handle); |
+ handle.close(); |
return; |
} |
this.permissionStub_ = new permission.PermissionService.stubClass(this); |