Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst
This commit is contained in:
@@ -718,7 +718,7 @@ GetJSContextFromDoc(nsIDocument *doc)
|
||||
nsIScriptContext *scx = sgo->GetContext();
|
||||
NS_ENSURE_TRUE(scx, nsnull);
|
||||
|
||||
return (JSContext *)scx->GetNativeContext();
|
||||
return scx->GetNativeContext();
|
||||
}
|
||||
|
||||
static JSContext *
|
||||
|
||||
Reference in New Issue
Block a user