Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux.
This commit is contained in:
@@ -11420,6 +11420,20 @@ nsDocShell::StopDocumentLoad(void)
|
||||
return NS_ERROR_DOCSHELL_REQUEST_REJECTED;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDocShell::SetRendering(PRBool aRender)
|
||||
{
|
||||
if(eCharsetReloadRequested != mCharsetReloadState)
|
||||
{
|
||||
if (mContentViewer) {
|
||||
mContentViewer->SetEnableRendering(aRender);
|
||||
return NS_OK;
|
||||
}
|
||||
}
|
||||
//return failer if this request is not accepted due to mCharsetReloadState
|
||||
return NS_ERROR_DOCSHELL_REQUEST_REJECTED;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDocShell::GetPrintPreview(nsIWebBrowserPrint** aPrintPreview)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user