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