Crash under WKPageCreateSnapshotOfVisibleContent if there is no response from the...
authorjberlin@webkit.org <jberlin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Apr 2011 22:01:48 +0000 (22:01 +0000)
committerjberlin@webkit.org <jberlin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Apr 2011 22:01:48 +0000 (22:01 +0000)
commit3cc44e814b138c35181471285944c9cb6dee4caa
treee01e42b1d54fcd7d1b5d4fa84abe1943b8213563
parentc2a4fa24caf5c4399047293cd04c9bdadccd4dfb
Crash under WKPageCreateSnapshotOfVisibleContent if there is no response from the Web Process
in the allotted time.
https://bugs.webkit.org/show_bug.cgi?id=59738

Reviewed by Darin Adler.

If the handle is null, don't try to create a ShareableBitmap and then a WebImage out of it.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::createSnapshotOfVisibleContent):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@85243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/WebPageProxy.cpp