[Webkit-unassigned] [Bug 155747] Use Region instead of IntRect in PageClient and WebPageProxy setViewNeedsDisplay method
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 23 08:21:54 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=155747
--- Comment #5 from Darin Adler <darin at apple.com> ---
Comment on attachment 274740
--> https://bugs.webkit.org/attachment.cgi?id=274740
Patch for landing
View in context: https://bugs.webkit.org/attachment.cgi?id=274740&action=review
> 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!
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160323/326034be/attachment.html>
More information about the webkit-unassigned
mailing list