| Index: third_party/WebKit/Source/modules/sensor/Sensor.cpp
|
| diff --git a/third_party/WebKit/Source/modules/sensor/Sensor.cpp b/third_party/WebKit/Source/modules/sensor/Sensor.cpp
|
| index 7cf29be637efaa24c5e09c0d22475f86ab3e7802..400374fdad3f60ea303ffc91b5590717d037d525 100644
|
| --- a/third_party/WebKit/Source/modules/sensor/Sensor.cpp
|
| +++ b/third_party/WebKit/Source/modules/sensor/Sensor.cpp
|
| @@ -310,8 +310,7 @@ void Sensor::NotifyOnActivate() {
|
| }
|
|
|
| void Sensor::NotifyError(DOMException* error) {
|
| - DispatchEvent(
|
| - SensorErrorEvent::Create(EventTypeNames::error, std::move(error)));
|
| + DispatchEvent(SensorErrorEvent::Create(EventTypeNames::error, error));
|
| }
|
|
|
| bool Sensor::CanReturnReadings() const {
|
|
|