Bug 62541 - [GTK] Fix a crash when drawing area has been deleted
Summary: [GTK] Fix a crash when drawing area has been deleted
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2011-06-13 05:55 PDT by Carlos Garcia Campos
Modified: 2011-06-13 10:14 PDT (History)
0 users

See Also:


Attachments
Patch (1.98 KB, patch)
2011-06-13 05:57 PDT, Carlos Garcia Campos
mrobinson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2011-06-13 05:55:57 PDT
We should check whether WebPageProxy::drawingArea() returns a valid pointer before using it, it might be null, for example, when the web process crashes.
Comment 1 Carlos Garcia Campos 2011-06-13 05:57:58 PDT
Created attachment 96949 [details]
Patch
Comment 2 Carlos Garcia Campos 2011-06-13 10:14:53 PDT
Committed r88646: <http://trac.webkit.org/changeset/88646>