<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>29868</bug_id>
          
          <creation_ts>2009-09-29 06:19:10 -0700</creation_ts>
          <short_desc>[Qt] Allow access to page rects calculated by PrintContext + Patch</short_desc>
          <delta_ts>2009-11-25 01:20:22 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Printing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>26584</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tor Arne Vestbø">vestbo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hausmann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>150888</commentid>
    <comment_count>0</comment_count>
    <who name="Tor Arne Vestbø">vestbo</who>
    <bug_when>2009-09-29 06:19:10 -0700</bug_when>
    <thetext>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&apos;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&lt;IntRect&gt; m_pageRects;
+public:
+    const Vector&lt;IntRect&gt; &amp; getPageRects() {return m_pageRects;}
 };
 
 }</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166375</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-11-25 01:20:22 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 26584 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>