[Win] Potential null pointer crash when setting cursor.
authorpeavo@outlook.com <peavo@outlook.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Jun 2016 08:23:49 +0000 (08:23 +0000)
committerpeavo@outlook.com <peavo@outlook.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Jun 2016 08:23:49 +0000 (08:23 +0000)
commit7860a9b1f7d90fd676388c7e0010c38364a88542
treee79aacddf31b055e956d9a6eebfb497a7e7754a8
parentd2926302b914a2d83b697a8326b4eaacd73c806a
[Win] Potential null pointer crash when setting cursor.
https://bugs.webkit.org/show_bug.cgi?id=158225

Reviewed by Alex Christensen.

Check return value of Cursor::platformCursor().

* WebCoreSupport/WebChromeClient.cpp:
(WebChromeClient::setCursor):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@201546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/win/ChangeLog
Source/WebKit/win/WebCoreSupport/WebChromeClient.cpp