| Index: content/renderer/device_sensors/device_sensor_event_pump.h
|
| diff --git a/content/renderer/device_sensors/device_sensor_event_pump.h b/content/renderer/device_sensors/device_sensor_event_pump.h
|
| index 35a5e45ae5f0b243c6bdabcc42c94ec723dddde3..b5859079755c0a8c21a5e60fedbf9f17b722af7d 100644
|
| --- a/content/renderer/device_sensors/device_sensor_event_pump.h
|
| +++ b/content/renderer/device_sensors/device_sensor_event_pump.h
|
| @@ -24,8 +24,7 @@ class CONTENT_EXPORT DeviceSensorMojoClientMixin : public Base {
|
| template <typename... Args>
|
| explicit DeviceSensorMojoClientMixin(Args&&... args)
|
| : Base(std::forward<Args>(args)...) {
|
| - mojo::InterfaceRequest<MojoInterface> request =
|
| - mojo::MakeRequest(&mojo_interface_);
|
| + mojo::InterfaceRequest<MojoInterface> request(&mojo_interface_);
|
|
|
| // When running layout tests, those observers should not listen to the
|
| // actual hardware changes. In order to make that happen, don't connect
|
|
|