Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/geolocation-mock.js

Issue 2405093003: [WIP] Mojo native bindings interface.
Patch Set: cleanup 2 Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698