Changeset 62963 in webkit
- Timestamp:
- Jul 9, 2010 10:12:26 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r62962 r62963 1 2010-07-09 Patrick Gansterer <paroga@paroga.com> 2 3 Reviewed by Kent Tamura. 4 5 [WINCE] Buildfix for FrameWince after r47440 6 https://bugs.webkit.org/show_bug.cgi?id=41904 7 8 * page/wince/FrameWince.cpp: Added property svn:eol-style. 9 (WebCore::computePageRectsForFrame): 10 (WebCore::imageFromSelection): 11 1 12 2010-07-09 Vitaly Repeshko <vitalyr@chromium.org> 2 13 -
trunk/WebCore/page/wince/FrameWince.cpp
r48082 r62963 29 29 30 30 #include "Document.h" 31 #include "EditorClient.h"32 31 #include "FloatRect.h" 33 #include "FrameLoader.h"34 #include "FrameLoadRequest.h"35 32 #include "FrameView.h" 36 33 #include "GraphicsContext.h" … … 39 36 #include "HTMLTableCellElement.h" 40 37 #include "KeyboardEvent.h" 41 #include "NP_jsobject.h"42 #include "npruntime_impl.h"43 38 #include "Page.h" 44 #include "Plugin.h"45 #include "RegularExpression.h"46 39 #include "RenderFrame.h" 47 #include "Render TableCell.h"40 #include "RenderLayer.h" 48 41 #include "RenderView.h" 49 42 #include "ResourceHandle.h" 50 #include "runtime_root.h"51 #include "Settings.h"52 #include "TextResourceDecoder.h"53 43 54 44 #include <windows.h> … … 86 76 float ratio = (float)printRect.height() / (float)printRect.width(); 87 77 88 float pageWidth = (float) root-> overflowWidth();78 float pageWidth = (float) root->rightLayoutOverflow(); 89 79 float pageHeight = pageWidth * ratio; 90 80 outPageHeight = (int) pageHeight; // this is the height of the page adjusted by margins … … 130 120 if (view->parent()) { 131 121 ir.setLocation(view->parent()->convertChildToSelf(view, ir.location())); 132 w = ir.width() * view-> scale() + 0.5;133 h = ir.height() * view-> scale() + 0.5;122 w = ir.width() * view->zoomFactor() + 0.5; 123 h = ir.height() * view->zoomFactor() + 0.5; 134 124 } else { 135 125 ir = view->contentsToWindow(ir);
Note: See TracChangeset
for help on using the changeset viewer.