Index: Source/modules/battery/BatteryManager.cpp |
diff --git a/Source/modules/battery/BatteryManager.cpp b/Source/modules/battery/BatteryManager.cpp |
index 7e25cb1e5be2d6bec07340c52330f4da67b047a8..98091ee107da8c198f2dc41ff00f041f29111f8f 100644 |
--- a/Source/modules/battery/BatteryManager.cpp |
+++ b/Source/modules/battery/BatteryManager.cpp |
@@ -22,7 +22,9 @@ BatteryManager* BatteryManager::create(ExecutionContext* context) |
BatteryManager::~BatteryManager() |
{ |
+#if !ENABLE(OILPAN) |
stopUpdating(); |
+#endif |
} |
BatteryManager::BatteryManager(ExecutionContext* context) |