bug 37037, 37490, and a table paganation problem when captions are present.
git-svn-id: svn://10.0.0.236/trunk@68283 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -490,7 +490,11 @@ DocumentViewerImpl::Init(nsIWidget* aParentWidget,
|
||||
PRBool makeCX = PR_FALSE;
|
||||
if (!mPresContext) {
|
||||
// Create presentation context
|
||||
#if 1
|
||||
rv = NS_NewGalleyContext(getter_AddRefs(mPresContext));
|
||||
#else // turn on print preview for debugging until print preview is fixed
|
||||
rv = NS_NewPrintPreviewContext(getter_AddRefs(mPresContext));
|
||||
#endif
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
mPresContext->Init(aDeviceContext);
|
||||
|
||||
Reference in New Issue
Block a user