Changeset 25282 in webkit
- Timestamp:
- Aug 28, 2007 4:36:07 PM (17 years ago)
- Location:
- trunk/WebKit/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/win/ChangeLog
r25272 r25282 1 2007-08-28 Jon Honeycutt <jhoneycutt@apple.com> 2 3 Reviewed by Adam. 4 5 <rdar://problem/5444457>: Content is cut when page orientation changed 6 in print preview 7 Fix: Don't return WebFrame::m_pageRects if it exists; let 8 computePageRectsForFrame clear and rewrite it. 9 10 * WebFrame.cpp: 11 (WebFrame::computePageRects): Removed an early-return case. Added a 12 space. 13 1 14 2007-08-28 Ada Chan <adachan@apple.com> 2 15 -
trunk/WebKit/win/WebFrame.cpp
r25231 r25282 2424 2424 ASSERT(coreFrame->document()); 2425 2425 2426 if (m_pageRects.size())2427 return m_pageRects;2428 2429 2426 if (!printDC) 2430 2427 return m_pageRects; … … 2433 2430 float headerHeight = 0, footerHeight = 0; 2434 2431 headerAndFooterHeights(&headerHeight, &footerHeight); 2435 computePageRectsForFrame(coreFrame, printerRect(printDC), headerHeight, footerHeight, 1.0, m_pageRects);2432 computePageRectsForFrame(coreFrame, printerRect(printDC), headerHeight, footerHeight, 1.0, m_pageRects); 2436 2433 2437 2434 return m_pageRects;
Note: See TracChangeset
for help on using the changeset viewer.