[Win] Null pointer crash under WebView::scrollOffset.
authorpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Sep 2016 18:21:26 +0000 (18:21 +0000)
committerpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Sep 2016 18:21:26 +0000 (18:21 +0000)
commit402ca88f8d825710300ffff8b6e151742ca50726
treee0a722e91c07abf5c551addb08af6848a926031a
parent06afe26b77501190756ac75c42cee4000212a3a9
[Win] Null pointer crash under WebView::scrollOffset.
https://bugs.webkit.org/show_bug.cgi?id=161620

Reviewed by Darin Adler.

Added null pointer checks.

* WebView.cpp:
(WebView::scrollOffset):
(WebView::scrollBy):
(WebView::visibleContentRect):

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