-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=114892 Patch by Otto Derek Cheung <otcheung@rim.com> on 2013-04-22 Reviewed by Rob Buis. PR 328147 Modify the client so we only have one listener for battery change events. The dispatch of different event listeners are handled by BatteryController. * WebCoreSupport/BatteryClientBlackBerry.cpp: (WebCore::BatteryClientBlackBerry::BatteryClientBlackBerry): (WebCore::BatteryClientBlackBerry::startUpdating): (WebCore::BatteryClientBlackBerry::stopUpdating): (WebCore::BatteryClientBlackBerry::onStatusChange): * WebCoreSupport/BatteryClientBlackBerry.h: (BatteryClientBlackBerry): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148885 268f45cc-cd09-0410-ab3c-d52691b4dbfc
790745ad