| 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 52f2657abcbf6297580342e1f1ee5db93405d193..698a72856aa0298ae9e74af85306f5a5a4e4b399 100644
|
| --- a/third_party/WebKit/Source/modules/battery/BatteryManager.h
|
| +++ b/third_party/WebKit/Source/modules/battery/BatteryManager.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "bindings/core/v8/ScriptPromise.h"
|
| #include "bindings/core/v8/ScriptPromiseProperty.h"
|
| +#include "bindings/core/v8/V8GCRoot.h"
|
| #include "core/dom/ActiveDOMObject.h"
|
| #include "core/dom/ContextLifecycleObserver.h"
|
| #include "core/frame/PlatformEventController.h"
|
| @@ -16,7 +17,7 @@
|
|
|
| namespace blink {
|
|
|
| -class BatteryManager final : public RefCountedGarbageCollectedEventTargetWithInlineData<BatteryManager>, public ActiveDOMObject, public PlatformEventController {
|
| +class BatteryManager final : public RefCountedGarbageCollectedEventTargetWithInlineData<BatteryManager>, public ActiveDOMObject, public PlatformEventController, public V8GCRoot {
|
| REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(BatteryManager);
|
| DEFINE_WRAPPERTYPEINFO();
|
| WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(BatteryManager);
|
|
|