<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#c6">Comment # 6</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:cgarcia@igalia.com" title="Carlos Garcia Campos <cgarcia@igalia.com>"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=155747#c5">comment #5</a>)
<span class="quote">> Comment on <span class=""><a href="attachment.cgi?id=274740&action=diff" name="attach_274740" title="Patch for landing">attachment 274740</a> <a href="attachment.cgi?id=274740&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&action=review">https://bugs.webkit.org/attachment.cgi?id=274740&action=review</a>
>
> > Source/WebKit2/UIProcess/API/gtk/PageClientImpl.cpp:70
> > + RefPtr<cairo_region_t> damageRegion = toCairoRegion(region);
> > + gtk_widget_queue_draw_region(m_viewWidget, damageRegion.get());
>
> 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!</span >
Sure, done in r198775</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>