Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2211)

Unified Diff: Source/modules/battery/BatteryManager.cpp

Issue 417213002: Introduce PlatformEvent to handle Device events, Battery events and Gamepad events. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: with backward compatibility Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/battery/BatteryManager.cpp
diff --git a/Source/modules/battery/BatteryManager.cpp b/Source/modules/battery/BatteryManager.cpp
index d336365254251026e84381f452cedbbd27df80e7..497da0541b46fe5f03175f5614510cfb2c5e7472 100644
--- a/Source/modules/battery/BatteryManager.cpp
+++ b/Source/modules/battery/BatteryManager.cpp
@@ -27,7 +27,7 @@ BatteryManager::~BatteryManager()
BatteryManager::BatteryManager(ExecutionContext* context)
: ActiveDOMObject(context)
- , DeviceEventControllerBase(toDocument(context)->page())
+ , PlatformEventController(toDocument(context)->page())
, m_batteryStatus(BatteryStatus::create())
, m_state(NotStarted)
{

Powered by Google App Engine
This is Rietveld 408576698