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 8c421a3ffe247e6720e1fbbf3741eacd1c956fcc..114273c79acaecd1a92bc203af94d914cd5f206a 100644 |
--- a/third_party/WebKit/Source/modules/battery/BatteryManager.h |
+++ b/third_party/WebKit/Source/modules/battery/BatteryManager.h |
@@ -11,12 +11,11 @@ |
#include "core/dom/ContextLifecycleObserver.h" |
#include "core/frame/PlatformEventController.h" |
#include "modules/EventTargetModules.h" |
+#include "platform/battery/battery_status.h" |
#include "platform/heap/Handle.h" |
namespace blink { |
-class BatteryStatus; |
- |
class BatteryManager final : public RefCountedGarbageCollectedEventTargetWithInlineData<BatteryManager>, public ActiveDOMObject, public PlatformEventController { |
REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(BatteryManager); |
DEFINE_WRAPPERTYPEINFO(); |
@@ -61,7 +60,7 @@ private: |
using BatteryProperty = ScriptPromiseProperty<Member<BatteryManager>, Member<BatteryManager>, Member<DOMException>>; |
Member<BatteryProperty> m_batteryProperty; |
- Member<BatteryStatus> m_batteryStatus; |
+ BatteryStatus m_batteryStatus; |
}; |
} // namespace blink |