Index: third_party/WebKit/LayoutTests/sensor/resources/sensor-helpers.js |
diff --git a/third_party/WebKit/LayoutTests/sensor/resources/sensor-helpers.js b/third_party/WebKit/LayoutTests/sensor/resources/sensor-helpers.js |
index 34d523c3fc6b0c379c3c2aadc1cedabb66388569..f9099600d5c9fe7b12d6b614d82d9cff3ef2d33b 100644 |
--- a/third_party/WebKit/LayoutTests/sensor/resources/sensor-helpers.js |
+++ b/third_party/WebKit/LayoutTests/sensor/resources/sensor-helpers.js |
@@ -194,7 +194,8 @@ function sensor_mocks(mojo) { |
// Returns initialized Sensor proxy to the client. |
getSensor(type, stub) { |
if (this.get_sensor_should_fail_) { |
- return getSensorResponse(null, null); |
+ return getSensorResponse(null, |
+ connection.bindProxy(null, sensor.SensorClient)); |
} |
let offset = |