Index: Source/modules/battery/BatteryManager.h |
diff --git a/Source/modules/battery/BatteryManager.h b/Source/modules/battery/BatteryManager.h |
index 42f4f29b6724fa86e3e97e21913c9cf015e2c1f2..a1d784f4fa9a7f37dffd1ff313a4d8df4d2d1fec 100644 |
--- a/Source/modules/battery/BatteryManager.h |
+++ b/Source/modules/battery/BatteryManager.h |
@@ -21,8 +21,8 @@ class BatteryManager FINAL : public RefCountedGarbageCollectedWillBeGarbageColle |
DEFINE_WRAPPERTYPEINFO(); |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(BatteryManager); |
public: |
- virtual ~BatteryManager(); |
static BatteryManager* create(ExecutionContext*); |
+ virtual ~BatteryManager(); |
// Returns a promise object that will be resolved with this BatteryManager. |
ScriptPromise startRequest(ScriptState*); |