| Index: Source/modules/device_orientation/DeviceSensorEventDispatcher.cpp
|
| diff --git a/Source/modules/device_orientation/DeviceSensorEventDispatcher.cpp b/Source/modules/device_orientation/DeviceSensorEventDispatcher.cpp
|
| index e48d4a3eed516f5ea0bb2a2bcbc034ec1513580b..b5cd6ffaf0e3d161b4249679df4d94179d4d84a7 100644
|
| --- a/Source/modules/device_orientation/DeviceSensorEventDispatcher.cpp
|
| +++ b/Source/modules/device_orientation/DeviceSensorEventDispatcher.cpp
|
| @@ -61,7 +61,7 @@ void DeviceSensorEventDispatcher::removeController(DeviceSensorEventController*
|
| // This is to correctly handle the re-entrancy case when a controller is destroyed
|
| // while in the didChangeDeviceMotion/Orientation method.
|
| size_t index = m_controllers.find(controller);
|
| - if (index == notFound)
|
| + if (index == kNotFound)
|
| return;
|
|
|
| m_controllers[index] = 0;
|
|
|