Bug 29868

Summary: [Qt] Allow access to page rects calculated by PrintContext + Patch
Product: WebKit Reporter: Tor Arne Vestbø <vestbo>
Component: PrintingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: hausmann
Priority: P2 Keywords: Qt
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   

Tor Arne Vestbø
Reported 2009-09-29 06:19:10 PDT
This bug report originated from issue QTBUG-3895 http://bugreports.qt.nokia.com/browse/QTBUG-3895 --- Description --- Access should be granted to access page rects calculated by WebKit's PrintContext. Patch: diff -ur qt-x11-opensource-src-4.5.0-old/src/3rdparty/webkit/WebCore/page/PrintContext.h qt-x11-opensource-src-4.5.0/src/3rdparty/webkit/WebCore/page/PrintContext.h --- qt-x11-opensource-src-4.5.0-old/src/3rdparty/webkit/WebCore/page/PrintContext.h 2009-02-25 22:09:20.000000000 +0100 +++ qt-x11-opensource-src-4.5.0/src/3rdparty/webkit/WebCore/page/PrintContext.h 2009-03-14 10:12:19.000000000 +0100 @@ -50,6 +50,8 @@ protected: Frame* m_frame; Vector<IntRect> m_pageRects; +public: + const Vector<IntRect> & getPageRects() {return m_pageRects;} }; }
Attachments
Simon Hausmann
Comment 1 2009-11-25 01:20:22 PST
*** This bug has been marked as a duplicate of bug 26584 ***
Note You need to log in before you can comment on or make changes to this bug.