gecko/js
Steve Fink 1571904e6e 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
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