[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:50:46 PDT 2010


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


anton muhin <antonm at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |antonm at chromium.org




--- Comment #14 from anton muhin <antonm at chromium.org>  2010-09-07 08:50:45 PST ---
(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.

-- 
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