Exact stack rooting for GetClass and GetPrivate.

Refs #2415

This was SVN commit r15606.
This commit is contained in:
Yves
2014-08-03 17:53:21 +00:00
parent 169174824f
commit f4d62152e7
3 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -414,8 +414,8 @@ private:
bool GetProperty_(JS::HandleValue obj, const char* name, JS::MutableHandleValue out);
bool GetPropertyInt_(JS::HandleValue obj, int name, JS::MutableHandleValue value);
static bool IsExceptionPending(JSContext* cx);
static JSClass* GetClass(JSObject* obj);
static void* GetPrivate(JSObject* obj);
static JSClass* GetClass(JS::HandleObject obj);
static void* GetPrivate(JS::HandleObject obj);
class CustomType
{