[iOS] Using file upload can trigger a crash under RenderThemeIOS::paintFileUploadIcon...
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Dec 2018 00:02:19 +0000 (00:02 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Dec 2018 00:02:19 +0000 (00:02 +0000)
commit9e35231b575470aa6ed58909e52331b2de1f2408
tree2a3abd46c8e1bef3e7e523fc808209c1a01538ba
parentec582b96929d2ce0ff5eb3f26000c27b8aecf1f5
[iOS] Using file upload can trigger a crash under RenderThemeIOS::paintFileUploadIconDecorations()
https://bugs.webkit.org/show_bug.cgi?id=192357
<rdar://problem/42852260>

Reviewed by Simon Fraser.

Do not try to paint the file picker when painting is disabled.

* rendering/RenderFileUploadControl.cpp:
(WebCore::RenderFileUploadControl::paintObject):

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