REGRESSION(180076): [Mac, iOS] Correct possible null dereference in printing code
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Apr 2015 02:26:07 +0000 (02:26 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Apr 2015 02:26:07 +0000 (02:26 +0000)
commit41ad31ead9dd9594c245c6e955a79f471b2e0f98
tree63b1c4c5b79ebb22c9ded9ec41dd88de697baedb
parent87796e238bac20a71d1a48d6804d648906db92e5
REGRESSION(180076): [Mac, iOS] Correct possible null dereference in printing code
https://bugs.webkit.org/show_bug.cgi?id=144366
<rdar://problem/20533513>

Reviewed by Dean Jackson.

* rendering/RenderBlockFlow.cpp:
(WebCore::needsAppleMailPaginationQuirk): Check if the document settings is a nullptr
before attempting to dereference it.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@183524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBlockFlow.cpp