Changeset 143526 in webkit


Ignore:
Timestamp:
Feb 20, 2013 4:00:33 PM (11 years ago)
Author:
adamk@chromium.org
Message:

[v8] Fix an erroneous WrapperGrouper call in preparation for refactoring
https://bugs.webkit.org/show_bug.cgi?id=110396

Reviewed by Kentaro Hara.

This is in preparation for a refactor to expose a simplified
WrapperGrouper interface to V8 wrapper classes enabling them to
specify multiple roots per wrapper object.

  • bindings/v8/V8GCController.cpp: Since MutationObservers are not Nodes, the correct call here is addObjectToGroup, as it is for all other non-Node wrappers.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r143520 r143526  
     12013-02-20  Adam Klein  <adamk@chromium.org>
     2
     3        [v8] Fix an erroneous WrapperGrouper call in preparation for refactoring
     4        https://bugs.webkit.org/show_bug.cgi?id=110396
     5
     6        Reviewed by Kentaro Hara.
     7
     8        This is in preparation for a refactor to expose a simplified
     9        WrapperGrouper interface to V8 wrapper classes enabling them to
     10        specify multiple roots per wrapper object.
     11
     12        * bindings/v8/V8GCController.cpp: Since MutationObservers are not Nodes, the correct call here is addObjectToGroup, as it is for all other non-Node wrappers.
     13
    1142013-02-20  Levi Weintraub  <leviw@chromium.org>
    215
  • trunk/Source/WebCore/bindings/v8/V8GCController.cpp

    r142419 r143526  
    312312            HashSet<Node*> observedNodes = observer->getObservedNodes();
    313313            for (HashSet<Node*>::iterator it = observedNodes.begin(); it != observedNodes.end(); ++it)
    314                 m_grouper.addNodeToGroup(V8GCController::opaqueRootForGC(*it, m_isolate), wrapper);
     314                m_grouper.addObjectToGroup(V8GCController::opaqueRootForGC(*it, m_isolate), wrapper);
    315315        } else {
    316316            ActiveDOMObject* activeDOMObject = type->toActiveDOMObject(wrapper);
Note: See TracChangeset for help on using the changeset viewer.