Index: Source/modules/battery/BatteryDispatcher.cpp |
diff --git a/Source/modules/battery/BatteryDispatcher.cpp b/Source/modules/battery/BatteryDispatcher.cpp |
index 29cef399b8422c94fc84d21e2a263040019f3810..f71d9c6f2c773866d946e807d80c29f4255e291b 100644 |
--- a/Source/modules/battery/BatteryDispatcher.cpp |
+++ b/Source/modules/battery/BatteryDispatcher.cpp |
@@ -25,7 +25,7 @@ BatteryDispatcher::~BatteryDispatcher() |
{ |
} |
-void BatteryDispatcher::updateBatteryStatus(const blink::WebBatteryStatus& batteryStatus) |
+void BatteryDispatcher::updateBatteryStatus(const WebBatteryStatus& batteryStatus) |
{ |
m_batteryStatus = BatteryStatus::create(batteryStatus.charging, batteryStatus.chargingTime, batteryStatus.dischargingTime, batteryStatus.level); |
notifyControllers(); |
@@ -38,13 +38,13 @@ BatteryStatus* BatteryDispatcher::latestData() |
void BatteryDispatcher::startListening() |
{ |
- blink::Platform::current()->startListening(WebPlatformEventBattery, this); |
+ Platform::current()->startListening(WebPlatformEventBattery, this); |
} |
void BatteryDispatcher::stopListening() |
{ |
- blink::Platform::current()->stopListening(WebPlatformEventBattery); |
+ Platform::current()->stopListening(WebPlatformEventBattery); |
m_batteryStatus.clear(); |
} |
-} |
+} // namespace blink |