<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Use Region instead of IntRect in PageClient and WebPageProxy setViewNeedsDisplay method"
   href="https://bugs.webkit.org/show_bug.cgi?id=155747#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Use Region instead of IntRect in PageClient and WebPageProxy setViewNeedsDisplay method"
   href="https://bugs.webkit.org/show_bug.cgi?id=155747">bug 155747</a>
              from <span class="vcard"><a class="email" href="mailto:darin&#64;apple.com" title="Darin Adler &lt;darin&#64;apple.com&gt;"> <span class="fn">Darin Adler</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=274740&amp;action=diff" name="attach_274740" title="Patch for landing">attachment 274740</a> <a href="attachment.cgi?id=274740&amp;action=edit" title="Patch for landing">[details]</a></span>
Patch for landing

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=274740&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=274740&amp;action=review</a>

<span class="quote">&gt; Source/WebKit2/UIProcess/API/gtk/PageClientImpl.cpp:70
&gt; +    RefPtr&lt;cairo_region_t&gt; damageRegion = toCairoRegion(region);
&gt; +    gtk_widget_queue_draw_region(m_viewWidget, damageRegion.get());</span >

If you ever care to return here you could make this a 1-liner:

    gtk_widget_queue_draw_region(m_viewWidget, toCairoRegion(region).get());

That’s part of the magic of smart pointers!</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>