Changeset 130125 in webkit


Ignore:
Timestamp:
Oct 1, 2012, 11:32:08 PM (13 years ago)
Author:
abarth@webkit.org
Message:

Unreviewed. Fix ASSERT introduced in
http://trac.webkit.org/changeset/130103. It turns out this case can
occur. This patch causes us to handle it the same way we did
previously.

  • bindings/v8/IntrusiveDOMWrapperMap.h:

(WebCore::IntrusiveDOMWrapperMap::removeIfPresent):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r130124 r130125  
     12012-10-01  Adam Barth  <abarth@webkit.org>
     2
     3        Unreviewed. Fix ASSERT introduced in
     4        http://trac.webkit.org/changeset/130103. It turns out this case can
     5        occur. This patch causes us to handle it the same way we did
     6        previously.
     7
     8        * bindings/v8/IntrusiveDOMWrapperMap.h:
     9        (WebCore::IntrusiveDOMWrapperMap::removeIfPresent):
     10
    1112012-10-01  Shinya Kawanaka  <shinyak@chromium.org>
    212
  • trunk/Source/WebCore/bindings/v8/IntrusiveDOMWrapperMap.h

    r130103 r130125  
    7878        if (wrapper.IsEmpty())
    7979            return false;
    80         ASSERT(wrapper == value);
     80        if (wrapper != value)
     81            return false;
    8182        node->disposeWrapper();
    8283        m_nodes.remove(node);
Note: See TracChangeset for help on using the changeset viewer.