Mozilla Home
Privacy
Cookies
Legal
Bugzilla
Browse
Advanced Search
New Bug
Reports
Documentation
Log In
Log In with GitHub
or
Remember me
Browse
Advanced Search
New Bug
Reports
Documentation
Attachment 70312 Details for
Bug 91516
[patch]
Safety patch for print preview
patch (text/plain), 804 bytes, created by
Robert O'Callahan (:roc) (email my personal email if necessary)
(
hide
)
Description:
Safety patch for print preview
Filename:
MIME Type:
Creator:
Robert O'Callahan (:roc) (email my personal email if necessary)
Size:
804 bytes
patch
obsolete
>Index: content/base/src/nsDocumentViewer.cpp >=================================================================== >RCS file: /cvsroot/mozilla/content/base/src/nsDocumentViewer.cpp,v >retrieving revision 1.206 >diff -u -r1.206 nsDocumentViewer.cpp >--- content/base/src/nsDocumentViewer.cpp 19 Feb 2002 11:49:24 -0000 1.206 >+++ content/base/src/nsDocumentViewer.cpp 19 Feb 2002 16:23:32 -0000 >@@ -3309,7 +3309,11 @@ > nsIView* view = nsnull; > frame->GetView(aPO->mParent->mPresContext, &view); > if (view != nsnull) { >- view->GetWidget(*getter_AddRefs(widget)); >+ nsCOMPtr<nsIWidget> w2; >+ view->GetWidget(*getter_AddRefs(w2)); >+ if (nsnull != w2) { >+ widget = w2; >+ } > canCreateScrollbars = PR_FALSE; > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Flags:
rods
: review+
attinasi
: superreview+
Actions:
View
|
Diff
|
Review
Attachments on
bug 91516
:
49641
|
52486
|
53555
|
68262
|
69246
|
69248
|
70019
|
70236
| 70312 |
156854
|
156863
|
234879