Title: [122136] trunk/Source/WebKit2
Revision
122136
Author
[email protected]
Date
2012-07-09 12:27:37 -0700 (Mon, 09 Jul 2012)

Log Message

[EFL] [WK2] ASSERTION FAILED: !HashTranslator::equal(KeyTraits::emptyValue(), key)
https://bugs.webkit.org/show_bug.cgi?id=90464

Patch by Sudarsana Nagineni <[email protected]> on 2012-07-09
Reviewed by Daniel Bates.

HashMap has the property that 0 is the empty value for integer
keys, so do not use 0 as a key in the HashMap.

* Platform/efl/WorkQueueEfl.cpp:
(WorkQueue::dispatchAfterDelay):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (122135 => 122136)


--- trunk/Source/WebKit2/ChangeLog	2012-07-09 19:27:11 UTC (rev 122135)
+++ trunk/Source/WebKit2/ChangeLog	2012-07-09 19:27:37 UTC (rev 122136)
@@ -1,3 +1,16 @@
+2012-07-09  Sudarsana Nagineni  <[email protected]>
+
+        [EFL] [WK2] ASSERTION FAILED: !HashTranslator::equal(KeyTraits::emptyValue(), key)
+        https://bugs.webkit.org/show_bug.cgi?id=90464
+
+        Reviewed by Daniel Bates.
+
+        HashMap has the property that 0 is the empty value for integer
+        keys, so do not use 0 as a key in the HashMap.
+
+        * Platform/efl/WorkQueueEfl.cpp:
+        (WorkQueue::dispatchAfterDelay):
+
 2012-07-09  Carlos Garcia Campos  <[email protected]>
 
         [GTK] Add a setting to enable/disable page cache to WebKit2 GTK+ API

Modified: trunk/Source/WebKit2/Platform/efl/WorkQueueEfl.cpp (122135 => 122136)


--- trunk/Source/WebKit2/Platform/efl/WorkQueueEfl.cpp	2012-07-09 19:27:11 UTC (rev 122135)
+++ trunk/Source/WebKit2/Platform/efl/WorkQueueEfl.cpp	2012-07-09 19:27:37 UTC (rev 122136)
@@ -167,7 +167,7 @@
 
 void WorkQueue::dispatchAfterDelay(const Function<void()>& function, double delay)
 {
-    static int timerId = 0;
+    static int timerId = 1;
     m_timers.set(timerId, adoptPtr(ecore_timer_add(delay, reinterpret_cast<Ecore_Task_Cb>(timerFired), new TimerWorkItem(timerId, function, this))));
     timerId++;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to