<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - printing does not use minimum page zoom factor"
   href="https://bugs.webkit.org/show_bug.cgi?id=108507#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - printing does not use minimum page zoom factor"
   href="https://bugs.webkit.org/show_bug.cgi?id=108507">bug 108507</a>
              from <span class="vcard"><a class="email" href="mailto:cgarcia&#64;igalia.com" title="Carlos Garcia Campos &lt;cgarcia&#64;igalia.com&gt;"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=108507#c6">comment #6</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=260361&amp;action=diff" name="attach_260361" title="Try to fix CG build">attachment 260361</a> <a href="attachment.cgi?id=260361&amp;action=edit" title="Try to fix CG build">[details]</a></span>
&gt; Try to fix CG build
&gt; 
&gt; View in context:
&gt; <a href="https://bugs.webkit.org/attachment.cgi?id=260361&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=260361&amp;action=review</a>
&gt; 
&gt; Looks OK to me.</span >

Thanks for the review.

<span class="quote">&gt; &gt; Source/WebCore/page/PrintContext.cpp:320
&gt; &gt; +int PrintContext::numberOfPages(Frame* frame, const FloatSize&amp; pageSizeInPixels)
&gt; 
&gt; Should take a Frame&amp;. The caller is the one that checks for null.</span >

Will change that and the all the callers.

<span class="quote">&gt; &gt; Source/WebCore/page/PrintContext.cpp:329
&gt; &gt; +void PrintContext::spoolAllPagesWithBoundaries(Frame* frame, GraphicsContext&amp; graphicsContext, const FloatSize&amp; pageSizeInPixels)
&gt; 
&gt; Should take a Frame&amp;. The caller is the one that checks for null.</span >

Same here.

<span class="quote">&gt; &gt; Source/WebCore/page/PrintContext.cpp:347
&gt; &gt; +#if PLATFORM(COCOA)
&gt; &gt;      graphicsContext.translate(0, totalHeight);
&gt; &gt;      graphicsContext.scale(FloatSize(1, -1));
&gt; &gt; +#endif
&gt; 
&gt; Seems bizarre that this is here. The platform layer is responsible for
&gt; abstracting differences like this.</span >

I was surprised as well, I guess this is specific to the printing code in mac. 

<span class="quote">&gt; &gt; Source/WebCore/page/PrintContext.cpp:357
&gt; &gt; +#if PLATFORM(COCOA)
&gt; &gt; +            int boundaryLineY = currentHeight;
&gt; &gt; +#else
&gt; &gt; +            int boundaryLineY = currentHeight - 1;
&gt; &gt; +#endif
&gt; 
&gt; Same comment about the platform layer.</span ></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>