Changeset 122136 in webkit


Ignore:
Timestamp:
Jul 9, 2012 12:27:37 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

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

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> 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):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r122113 r122136  
     12012-07-09  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
     2
     3        [EFL] [WK2] ASSERTION FAILED: !HashTranslator::equal(KeyTraits::emptyValue(), key)
     4        https://bugs.webkit.org/show_bug.cgi?id=90464
     5
     6        Reviewed by Daniel Bates.
     7
     8        HashMap has the property that 0 is the empty value for integer
     9        keys, so do not use 0 as a key in the HashMap.
     10
     11        * Platform/efl/WorkQueueEfl.cpp:
     12        (WorkQueue::dispatchAfterDelay):
     13
    1142012-07-09  Carlos Garcia Campos  <cgarcia@igalia.com>
    215
  • trunk/Source/WebKit2/Platform/efl/WorkQueueEfl.cpp

    r112353 r122136  
    168168void WorkQueue::dispatchAfterDelay(const Function<void()>& function, double delay)
    169169{
    170     static int timerId = 0;
     170    static int timerId = 1;
    171171    m_timers.set(timerId, adoptPtr(ecore_timer_add(delay, reinterpret_cast<Ecore_Task_Cb>(timerFired), new TimerWorkItem(timerId, function, this))));
    172172    timerId++;
Note: See TracChangeset for help on using the changeset viewer.