Changeset 236288 in webkit
- Timestamp:
- Sep 20, 2018, 3:27:28 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/printing/crash-while-formatting-subframe-for-printing-expected.txt (added)
-
LayoutTests/printing/crash-while-formatting-subframe-for-printing.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/RenderView.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r236286 r236288 1 2018-09-20 Zalan Bujtas <zalan@apple.com> 2 3 Release assert under RenderView::pageOrViewLogicalHeight 4 https://bugs.webkit.org/show_bug.cgi?id=189798 5 <rdar://problem/43659749> 6 7 Reviewed by Simon Fraser. 8 9 * printing/crash-while-formatting-subframe-for-printing-expected.txt: Added. 10 * printing/crash-while-formatting-subframe-for-printing.html: Added. 11 1 12 2018-09-20 Sihui Liu <sihui_liu@apple.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r236286 r236288 1 2018-09-20 Zalan Bujtas <zalan@apple.com> 2 3 Release assert under RenderView::pageOrViewLogicalHeight 4 https://bugs.webkit.org/show_bug.cgi?id=189798 5 <rdar://problem/43659749> 6 7 Reviewed by Simon Fraser. 8 9 Only the mainframe's render view is sized to the page while printing. 10 Use the matching check (see RenderView::layout) when accessing m_pageLogicalSize. 11 12 Test: printing/crash-while-formatting-subframe-for-printing.html 13 14 * rendering/RenderView.cpp: 15 (WebCore::RenderView::pageOrViewLogicalHeight const): 16 1 17 2018-09-20 Sihui Liu <sihui_liu@apple.com> 2 18 -
trunk/Source/WebCore/rendering/RenderView.cpp
r232991 r236288 249 249 LayoutUnit RenderView::pageOrViewLogicalHeight() const 250 250 { 251 if ( document().printing())251 if (shouldUsePrintingLayout()) 252 252 return m_pageLogicalSize->height(); 253 253
Note:
See TracChangeset
for help on using the changeset viewer.