Title: [122453] trunk/Source/WebKit2
Revision
122453
Author
[email protected]
Date
2012-07-12 06:44:25 -0700 (Thu, 12 Jul 2012)

Log Message

[EFL][WK2] Browser crashes running BatteryStatus tests.
https://bugs.webkit.org/show_bug.cgi?id=91065

Patch by Sudarsana Nagineni <[email protected]> on 2012-07-12
Reviewed by Kentaro Hara.

clientInfo was incorrectly casted to BatteryProviderEfl in helper
function. This patch fixes the issue.

* UIProcess/API/efl/BatteryProvider.cpp:
(toBatteryProvider):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (122452 => 122453)


--- trunk/Source/WebKit2/ChangeLog	2012-07-12 13:39:22 UTC (rev 122452)
+++ trunk/Source/WebKit2/ChangeLog	2012-07-12 13:44:25 UTC (rev 122453)
@@ -1,3 +1,16 @@
+2012-07-12  Sudarsana Nagineni  <[email protected]>
+
+        [EFL][WK2] Browser crashes running BatteryStatus tests.
+        https://bugs.webkit.org/show_bug.cgi?id=91065
+
+        Reviewed by Kentaro Hara.
+
+        clientInfo was incorrectly casted to BatteryProviderEfl in helper
+        function. This patch fixes the issue.
+
+        * UIProcess/API/efl/BatteryProvider.cpp:
+        (toBatteryProvider):
+
 2012-07-12  Christophe Dumez  <[email protected]>
 
         [EFL] [WK2] regression(r122411) Crashes in Ewk_View

Modified: trunk/Source/WebKit2/UIProcess/API/efl/BatteryProvider.cpp (122452 => 122453)


--- trunk/Source/WebKit2/UIProcess/API/efl/BatteryProvider.cpp	2012-07-12 13:39:22 UTC (rev 122452)
+++ trunk/Source/WebKit2/UIProcess/API/efl/BatteryProvider.cpp	2012-07-12 13:44:25 UTC (rev 122453)
@@ -35,9 +35,9 @@
 using namespace WebCore;
 using namespace WebKit;
 
-static inline BatteryProviderEfl* toBatteryProvider(const void* clientInfo)
+static inline BatteryProvider* toBatteryProvider(const void* clientInfo)
 {
-    return static_cast<BatteryProviderEfl*>(const_cast<void*>(clientInfo));
+    return static_cast<BatteryProvider*>(const_cast<void*>(clientInfo));
 }
 
 static void startUpdatingCallback(WKBatteryManagerRef batteryManager, const void* clientInfo)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to