| Index: third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp
|
| diff --git a/third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp b/third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp
|
| index 7a71753a2ceb9280b7d7cdde69a49963ec79f032..e2c0d70dc8cb1992413961346ba82e71fcf697d0 100644
|
| --- a/third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp
|
| +++ b/third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp
|
| @@ -62,12 +62,12 @@ BatteryStatus* BatteryDispatcher::latestData()
|
|
|
| void BatteryDispatcher::startListening()
|
| {
|
| - Platform::current()->startListening(WebPlatformEventBattery, this);
|
| + Platform::current()->startListening(WebPlatformEventTypeBattery, this);
|
| }
|
|
|
| void BatteryDispatcher::stopListening()
|
| {
|
| - Platform::current()->stopListening(WebPlatformEventBattery);
|
| + Platform::current()->stopListening(WebPlatformEventTypeBattery);
|
| m_batteryStatus.clear();
|
| }
|
|
|
|
|