Changeset 124552 in webkit
- Timestamp:
- Aug 2, 2012 7:40:14 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r124550 r124552 1 2012-08-02 Kihong Kwon <kihong.kwon@samsung.com> 2 3 [EFL] Fix wrong assigned value of BatteryStatus 4 https://bugs.webkit.org/show_bug.cgi?id=93058 5 6 Reviewed by Kentaro Hara. 7 8 There is a wrong change in the bug 92964. 9 property variable have to be used after assigned value in the setBatteryClient. 10 11 * platform/efl/BatteryProviderEfl.cpp: 12 (WebCore::BatteryProviderEfl::setBatteryClient): 13 1 14 2012-08-02 Arvid Nilsson <anilsson@rim.com> 2 15 -
trunk/Source/WebCore/platform/efl/BatteryProviderEfl.cpp
r124450 r124552 153 153 } 154 154 155 double level = property->val.d / 100;156 155 bool levelChanged = false; 157 158 156 property = static_cast<E_Ukit_Property*>(eina_hash_find(eukitPropertyNames->properties, "Percentage")); 159 157 if (!property) 160 158 return; 159 160 double level = property->val.d / 100; 161 161 if (!clientBatteryStatus || clientBatteryStatus->level() != level) 162 162 levelChanged = true;
Note: See TracChangeset
for help on using the changeset viewer.