Ignore:
Timestamp:
Sep 22, 2015, 5:21:31 AM (10 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r189616.
https://bugs.webkit.org/show_bug.cgi?id=149456

suspected cause of multiple regressions (Requested by kling on
#webkit).

Reverted changeset:

"[JSC] Weak should only accept cell pointees."
https://bugs.webkit.org/show_bug.cgi?id=148955
http://trac.webkit.org/changeset/189616

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp

    r189616 r190113  
    306306}
    307307
    308 void NPRuntimeObjectMap::finalize(JSC::JSCell*& cell, void* context)
    309 {
    310     JSNPObject& object = jsCast<JSNPObject&>(*cell);
    311     weakRemove(m_jsNPObjects, static_cast<NPObject*>(context), &object);
    312     addToInvalidationQueue(object.leakNPObject());
     308void NPRuntimeObjectMap::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
     309{
     310    JSNPObject* object = jsCast<JSNPObject*>(handle.get().asCell());
     311    weakRemove(m_jsNPObjects, static_cast<NPObject*>(context), object);
     312    addToInvalidationQueue(object->leakNPObject());
    313313}
    314314
Note: See TracChangeset for help on using the changeset viewer.