diff --git a/xpfe/browser/src/nsBrowserInstance.cpp b/xpfe/browser/src/nsBrowserInstance.cpp index 0d6b0548656..4b59db3cbed 100644 --- a/xpfe/browser/src/nsBrowserInstance.cpp +++ b/xpfe/browser/src/nsBrowserInstance.cpp @@ -1845,7 +1845,7 @@ nsBrowserAppCore::Print() { if (mContentAreaWebShell) { nsCOMPtr viewer; - mWebShell->GetContentViewer(getter_AddRefs(viewer)); + mContentAreaWebShell->GetContentViewer(getter_AddRefs(viewer)); if (nsnull != viewer) { nsCOMPtr viewerFile = do_QueryInterface(viewer); if (viewerFile) {