| Index: third_party/WebKit/Source/modules/battery/BatteryManager.h
|
| diff --git a/third_party/WebKit/Source/modules/battery/BatteryManager.h b/third_party/WebKit/Source/modules/battery/BatteryManager.h
|
| index 076be413d83cc78f120aa8ad1db5fdfbcb69038e..825c8bdee936e0c2e55fbec390e5e195653b1931 100644
|
| --- a/third_party/WebKit/Source/modules/battery/BatteryManager.h
|
| +++ b/third_party/WebKit/Source/modules/battery/BatteryManager.h
|
| @@ -8,8 +8,8 @@
|
| #include "bindings/core/v8/ActiveScriptWrappable.h"
|
| #include "bindings/core/v8/ScriptPromise.h"
|
| #include "bindings/core/v8/ScriptPromiseProperty.h"
|
| -#include "core/dom/ActiveDOMObject.h"
|
| #include "core/dom/ContextLifecycleObserver.h"
|
| +#include "core/dom/SuspendableObject.h"
|
| #include "core/frame/PlatformEventController.h"
|
| #include "modules/EventTargetModules.h"
|
| #include "modules/battery/battery_status.h"
|
| @@ -19,7 +19,7 @@ namespace blink {
|
|
|
| class BatteryManager final : public EventTargetWithInlineData,
|
| public ActiveScriptWrappable,
|
| - public ActiveDOMObject,
|
| + public SuspendableObject,
|
| public PlatformEventController {
|
| DEFINE_WRAPPERTYPEINFO();
|
| USING_GARBAGE_COLLECTED_MIXIN(BatteryManager);
|
| @@ -55,7 +55,7 @@ class BatteryManager final : public EventTargetWithInlineData,
|
| void unregisterWithDispatcher() override;
|
| bool hasLastData() override;
|
|
|
| - // ActiveDOMObject implementation.
|
| + // SuspendableObject implementation.
|
| void suspend() override;
|
| void resume() override;
|
| void contextDestroyed() override;
|
|
|