Index: third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp |
diff --git a/third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp b/third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp |
index a039bd47f440e154f67977988fe9c1b3c8508848..b2e3b0faead273818ab8e4d9394ce7b4a4d69cee 100644 |
--- a/third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp |
+++ b/third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp |
@@ -13,8 +13,8 @@ namespace blink { |
BatteryDispatcher& BatteryDispatcher::instance() |
{ |
- DEFINE_STATIC_LOCAL(Persistent<BatteryDispatcher>, batteryDispatcher, (new BatteryDispatcher())); |
- return *batteryDispatcher; |
+ DEFINE_STATIC_LOCAL(BatteryDispatcher, batteryDispatcher, (new BatteryDispatcher)); |
+ return batteryDispatcher; |
} |
BatteryDispatcher::BatteryDispatcher() |