Bug 64371

Summary: [Qt][WK2] QDesktopWebView crashes if resized without web process.
Product: WebKit Reporter: Andreas Kling <kling>
Component: Layout and RenderingAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin
Priority: P2 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch benjamin: review+, benjamin: commit-queue-

Description Andreas Kling 2011-07-12 11:03:24 PDT
There are some incorrect assumptions about drawingArea() never being null in QtWebPageProxy.
It may be null when the web process has crashed, so we need to handle this gracefully.
Comment 1 Andreas Kling 2011-07-12 11:04:05 PDT
Created attachment 100523 [details]
Proposed patch
Comment 2 Benjamin Poulain 2011-07-12 11:07:11 PDT
Comment on attachment 100523 [details]
Proposed patch

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

> Source/WebKit2/ChangeLog:11
> +        (Q drawing area is null.tWebPageProxy::setDrawingAreaSize): Fail silently if there is no

"Q drawing area is null.tWebPageProxy" ????
Comment 3 Andreas Kling 2011-07-12 11:08:10 PDT
(In reply to comment #2)
> (From update of attachment 100523 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=100523&action=review
> 
> > Source/WebKit2/ChangeLog:11
> > +        (Q drawing area is null.tWebPageProxy::setDrawingAreaSize): Fail silently if there is no
> 
> "Q drawing area is null.tWebPageProxy" ????

vim is hard :(
Comment 4 Andreas Kling 2011-07-12 11:13:56 PDT
Committed r90829: <http://trac.webkit.org/changeset/90829>