Back to index

lightning-sunbird  0.9+nobinonly
xpcthrower.cpp File Reference
#include "xpcprivate.h"

Go to the source code of this file.


static JSObjectGetGlobalObject (JSContext *cx, JSObject *start)

Function Documentation

static JSObject* GetGlobalObject ( JSContext cx,
JSObject start 
) [static]

Definition at line 264 of file xpcthrower.cpp.

    JSObject* parent;

    while((parent = JS_GetParent(cx, start)) != nsnull)
        start = parent;
    return start;

Here is the call graph for this function:

Here is the caller graph for this function: