| Index: third_party/WebKit/Source/modules/device_light/DeviceLightDispatcher.cpp
|
| diff --git a/third_party/WebKit/Source/modules/device_light/DeviceLightDispatcher.cpp b/third_party/WebKit/Source/modules/device_light/DeviceLightDispatcher.cpp
|
| index 87c8a8d6af2753d9a6ca4f99b5007b6568a13107..07f4e39913a2c5144f055b525560ea8cf1a6364d 100644
|
| --- a/third_party/WebKit/Source/modules/device_light/DeviceLightDispatcher.cpp
|
| +++ b/third_party/WebKit/Source/modules/device_light/DeviceLightDispatcher.cpp
|
| @@ -32,12 +32,12 @@ DEFINE_TRACE(DeviceLightDispatcher)
|
|
|
| void DeviceLightDispatcher::startListening()
|
| {
|
| - Platform::current()->startListening(WebPlatformEventDeviceLight, this);
|
| + Platform::current()->startListening(WebPlatformEventTypeDeviceLight, this);
|
| }
|
|
|
| void DeviceLightDispatcher::stopListening()
|
| {
|
| - Platform::current()->stopListening(WebPlatformEventDeviceLight);
|
| + Platform::current()->stopListening(WebPlatformEventTypeDeviceLight);
|
| m_lastDeviceLightData = -1;
|
| }
|
|
|
|
|