Index: Source/modules/battery/NavigatorBattery.h |
diff --git a/Source/modules/battery/NavigatorBattery.h b/Source/modules/battery/NavigatorBattery.h |
index 13aaaf3b05b0785a28d8d77ddc446accceeee5d7..3539751ad1857dc9f6b047188387bf585be6470d 100644 |
--- a/Source/modules/battery/NavigatorBattery.h |
+++ b/Source/modules/battery/NavigatorBattery.h |
@@ -15,11 +15,9 @@ namespace blink { |
class BatteryManager; |
class Navigator; |
-class NavigatorBattery final : public NoBaseWillBeGarbageCollectedFinalized<NavigatorBattery>, public WillBeHeapSupplement<Navigator> { |
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorBattery); |
+class NavigatorBattery final : public GarbageCollected<NavigatorBattery>, public HeapSupplement<Navigator> { |
+ USING_GARBAGE_COLLECTED_MIXIN(NavigatorBattery); |
public: |
- virtual ~NavigatorBattery(); |
- |
static NavigatorBattery& from(Navigator&); |
static ScriptPromise getBattery(ScriptState*, Navigator&); |
@@ -31,7 +29,7 @@ private: |
NavigatorBattery(); |
static const char* supplementName(); |
- PersistentWillBeMember<BatteryManager> m_batteryManager; |
+ Member<BatteryManager> m_batteryManager; |
}; |
} // namespace blink |