| Index: third_party/WebKit/Source/modules/battery/BatteryManager.cpp
|
| diff --git a/third_party/WebKit/Source/modules/battery/BatteryManager.cpp b/third_party/WebKit/Source/modules/battery/BatteryManager.cpp
|
| index 4541db04a2c36bc5c36a6e593c3768f15f5fe062..82ab5513c5bc78f962795eff26c37d679de7abb8 100644
|
| --- a/third_party/WebKit/Source/modules/battery/BatteryManager.cpp
|
| +++ b/third_party/WebKit/Source/modules/battery/BatteryManager.cpp
|
| @@ -22,7 +22,7 @@ BatteryManager::~BatteryManager() {}
|
|
|
| BatteryManager::BatteryManager(ExecutionContext* context)
|
| : SuspendableObject(context),
|
| - PlatformEventController(toDocument(context)->page()) {}
|
| + PlatformEventController(toDocument(context)->frame()) {}
|
|
|
| ScriptPromise BatteryManager::startRequest(ScriptState* scriptState) {
|
| if (!m_batteryProperty) {
|
|
|