Bug 996785 - Move global CPOW functions to top level (r=mrbkap)
This commit is contained in:
@@ -68,16 +68,12 @@ class JavaScriptParent
|
||||
|
||||
void drop(JSObject *obj);
|
||||
|
||||
static bool IsCPOW(JSObject *obj);
|
||||
|
||||
static nsresult InstanceOf(JSObject *obj, const nsID *id, bool *bp);
|
||||
nsresult instanceOf(JSObject *obj, const nsID *id, bool *bp);
|
||||
|
||||
/*
|
||||
* Check that |obj| is a DOM wrapper whose prototype chain contains
|
||||
* |prototypeID| at depth |depth|.
|
||||
*/
|
||||
static bool DOMInstanceOf(JSContext *cx, JSObject *obj, int prototypeID, int depth, bool *bp);
|
||||
bool domInstanceOf(JSContext *cx, JSObject *obj, int prototypeID, int depth, bool *bp);
|
||||
|
||||
mozilla::ipc::IProtocol*
|
||||
@@ -103,6 +99,15 @@ class JavaScriptParent
|
||||
bool inactive_;
|
||||
};
|
||||
|
||||
bool
|
||||
IsCPOW(JSObject *obj);
|
||||
|
||||
nsresult
|
||||
InstanceOf(JSObject *obj, const nsID *id, bool *bp);
|
||||
|
||||
bool
|
||||
DOMInstanceOf(JSContext *cx, JSObject *obj, int prototypeID, int depth, bool *bp);
|
||||
|
||||
} // jsipc
|
||||
} // mozilla
|
||||
|
||||
|
||||
Reference in New Issue
Block a user