| Index: Source/modules/device_light/DeviceLightEvent.cpp
|
| diff --git a/Source/modules/device_light/DeviceLightEvent.cpp b/Source/modules/device_light/DeviceLightEvent.cpp
|
| index 994629388b6a488d7451ec8564dfd62928a045a4..40cb7c7e178255fc6545f9372d63f8164ec58c7a 100644
|
| --- a/Source/modules/device_light/DeviceLightEvent.cpp
|
| +++ b/Source/modules/device_light/DeviceLightEvent.cpp
|
| @@ -24,8 +24,9 @@ DeviceLightEvent::DeviceLightEvent(const AtomicString& eventType, double value)
|
|
|
| DeviceLightEvent::DeviceLightEvent(const AtomicString& eventType, const DeviceLightEventInit& initializer)
|
| : Event(eventType, initializer)
|
| - , m_value(initializer.value)
|
| + , m_value(initializer.hasValue() ? initializer.value() : std::numeric_limits<double>::infinity())
|
| {
|
| + setCanBubble(true);
|
| }
|
|
|
| const AtomicString& DeviceLightEvent::interfaceName() const
|
|
|