[chromium] Null-check WebViewImpl::m_client before calling invalidateRect() on it
authorcommit-queue <commit-queue@webkit.org>
Tue, 30 Oct 2012 03:49:55 +0000 (03:49 +0000)
committercommit-queue <commit-queue@webkit.org>
Tue, 30 Oct 2012 03:49:55 +0000 (03:49 +0000)
commit0eb84c77e494b6c69033d4df2c8fdb87d6239546
tree4419c9af446f37988d2cc7a403e158e1fbb927e7
parent66d245fee5b41abe7dff3628126cc89cc7706277
[chromium] Null-check WebViewImpl::m_client before calling invalidateRect() on it
https://bugs.webkit.org/show_bug.cgi?id=100716

Patch by James Robinson <jamesr@chromium.org> on 2012-10-29
Reviewed by Dirk Pranke.

This check was accidentally removed in r132862 and the value is null in at least some unit tests.

* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::invalidateRect):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132871 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/src/WebViewImpl.cpp