[Webkit-unassigned] [Bug 45145] [Qt] V8 port for QT platform: v8 binding changes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 7 08:51:02 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=45145





--- Comment #15 from anton muhin <antonm at chromium.org>  2010-09-07 08:51:01 PST ---
(In reply to comment #14)
> (In reply to comment #9)
> > Confusing part for me is that JSC implementation does:
> > _NPN_ReleaseObject() in PassScriptInstance PluginView::bindingInstance() after npobject retrieved from PluginView. 
> > V8 implementation in 
> > PassScriptInstance ScriptController::createScriptInstanceForWidget() 
> > doesnt do that... Does this mean that Chromium PlatformBridge::pluginScriptableObject(widget) already has ref counter decreased for this npobject?
> 
> I cannot say for JSC, but V8 bindings introduce a weak reference to a wrapper which owns the NPObject and would deref NPObject when it gets unreachable via V8.

Forgotten URL: http://www.google.com/codesearch/p?hl=en#OAMlx_jo-ck/src/third_party/WebKit/WebCore/bindings/v8/V8NPObject.cpp&q=createV8ObjectForNPObject&sa=N&cd=1&ct=rc

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list