gecko/js
Steve Fink 3ea13ed49e Bug 776635 - Allow use of JSRootedObject using only external headers. r=billm
Currently, JS::Rooted<JSObject*> requires the full definition of JSObject to be available (due to RootMethods<JSObject*>::kind() calling JSObject::rootKind()). This patch switches to using a RootKind<T> template that is explicitly specialized in jspubtd.h for externally-visible pointer types, but still falls back on T::rootKind() for other pointer types so that we don't need to explicitly specialize on eg all subclasses of JSString or JSObject.

--HG--
extra : rebase_source : 138a859babc1aac60e61fe6f08089d8dbb4995d2
2012-07-18 14:32:39 -07:00
..
ductwork/debugger Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more jsd parts); r=Waldo 2012-06-19 23:43:15 -04:00
examples Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
ipc Bug 770759 - Add mutable handles (r=bhackett) 2012-07-04 11:12:16 -07:00
jsd Backout 61d052e202c8 (bug 647367) due to Windows bustage. 2012-07-18 22:33:41 -04:00
public Bug 761723 - Add memory reporting for script sources. r=njn 2012-07-20 20:18:08 +02:00
src Bug 776635 - Allow use of JSRootedObject using only external headers. r=billm 2012-07-18 14:32:39 -07:00
xpconnect Bug 776660 - Return null from EnsureExpandoObject instead of false; r=bholley 2012-07-23 15:58:41 -04:00