Bug 82559 - Fix a crash and an assertion when recovering from a web process crash
: Fix a crash and an assertion when recovering from a web process crash
Status: RESOLVED FIXED
: WebKit
New Bugs
: 528+ (Nightly build)
: Unspecified Unspecified
: P2 Normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2012-03-28 18:07 PST by
Modified: 2012-03-28 18:51 PST (History)


Attachments
Patch (1.87 KB, patch)
2012-03-28 18:08 PST, Anders Carlsson
mrowe: review+
Review Patch | Details | Formatted Diff | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2012-03-28 18:07:44 PST
Fix a crash and an assertion when recovering from a web process crash
------- Comment #1 From 2012-03-28 18:08:49 PST -------
Created an attachment (id=134459) [details]
Patch
------- Comment #2 From 2012-03-28 18:10:13 PST -------
(From update of attachment 134459 [details])
View in context: https://bugs.webkit.org/attachment.cgi?id=134459&action=review

> Source/WebKit2/UIProcess/API/mac/WKView.mm:2932
> +    if (_data->_page->drawingArea())
> +        _data->_page->drawingArea()->waitForPossibleGeometryUpdate();

Maybe introduce a local to avoid dereferencing / calling _data->_page->drawingArea() twice in a row?
------- Comment #3 From 2012-03-28 18:51:03 PST -------
Committed r112491: <http://trac.webkit.org/changeset/112491>