mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-02 12:32:55 +00:00
Enable scripts
This commit is contained in:
parent
0f6c349aab
commit
297b3bbfcf
@ -298,7 +298,6 @@ DocumentViewerImpl::Init(nsNativeWidget aNativeParent,
|
|||||||
mPresContext->SetLinkHandler(linkHandler);
|
mPresContext->SetLinkHandler(linkHandler);
|
||||||
NS_IF_RELEASE(linkHandler);
|
NS_IF_RELEASE(linkHandler);
|
||||||
|
|
||||||
#if 0
|
|
||||||
// Set script-context-owner in the document
|
// Set script-context-owner in the document
|
||||||
nsIScriptContextOwner* owner = nsnull;
|
nsIScriptContextOwner* owner = nsnull;
|
||||||
mContainer->QueryCapability(kIScriptContextOwnerIID, (void**)&owner);
|
mContainer->QueryCapability(kIScriptContextOwnerIID, (void**)&owner);
|
||||||
@ -323,7 +322,6 @@ DocumentViewerImpl::Init(nsNativeWidget aNativeParent,
|
|||||||
}
|
}
|
||||||
NS_RELEASE(owner);
|
NS_RELEASE(owner);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create the ViewManager and Root View...
|
// Create the ViewManager and Root View...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user