[webkit-reviews] review granted: [Bug 183091] REGRESSION(r221514): [GTK] UI process crash in WebKit::WaylandCompositor::Surface::flushPendingFrameCallbacks : [Attachment 334595] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 26 08:47:33 PST 2018


Michael Catanzaro <mcatanzaro at igalia.com> has granted Carlos Garcia Campos
<cgarcia at igalia.com>'s request for review:
Bug 183091: REGRESSION(r221514): [GTK] UI process crash in
WebKit::WaylandCompositor::Surface::flushPendingFrameCallbacks
https://bugs.webkit.org/show_bug.cgi?id=183091

Attachment 334595: Patch

https://bugs.webkit.org/attachment.cgi?id=334595&action=review




--- Comment #3 from Michael Catanzaro <mcatanzaro at igalia.com> ---
Comment on attachment 334595
  --> https://bugs.webkit.org/attachment.cgi?id=334595
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=334595&action=review

Thanks

> Source/WebKit/UIProcess/gtk/WaylandCompositor.cpp:354
>		       auto* surface =
static_cast<WaylandCompositor::Surface*>(wl_resource_get_user_data(resource));
> +		      
WaylandCompositor::singleton().willDestroySurface(surface);
>		       delete surface;

Aha, so this is what I missed when staring at this bug the other day.

> Source/WebKit/UIProcess/gtk/WaylandCompositor.cpp:571
> +	       break;

You could equivalently use return instead.


More information about the webkit-reviews mailing list