Crash under e_dom_resize_document_content_to_preview_width()
commit929dbca69c5a40a69fc281aec9b968bd4160c6f8
authorMilan Crha <mcrha@redhat.com>
Mon, 23 Oct 2017 17:04:03 +0000 (23 19:04 +0200)
committerMilan Crha <mcrha@redhat.com>
Mon, 23 Oct 2017 17:04:03 +0000 (23 19:04 +0200)
treec51c8a90c27f8fda6a99cab29c1862144d27f551
parent7bab37105e18baa0b480664293e8401adbac5d77
Crash under e_dom_resize_document_content_to_preview_width()

Instead of using passed-in WebKitDOMDocument valid from time of
the event subscribing, get the current document from the object
which sent the signal.

This had been reported downstream at:
https://bugzilla.redhat.com/show_bug.cgi?id=1504503
src/web-extensions/e-dom-utils.c