| Index: Source/core/html/forms/FileInputType.cpp
|
| diff --git a/Source/core/html/forms/FileInputType.cpp b/Source/core/html/forms/FileInputType.cpp
|
| index cdfbaf38a340830c7df6533871f667e3d79a0ec7..c8da17ba306c14bda576399a2bbe75e6cc9d7546 100644
|
| --- a/Source/core/html/forms/FileInputType.cpp
|
| +++ b/Source/core/html/forms/FileInputType.cpp
|
| @@ -303,8 +303,8 @@ void FileInputType::setFiles(FileList* files)
|
| input->notifyFormStateChanged();
|
| input->setNeedsValidityCheck();
|
|
|
| - if (input->renderer())
|
| - input->renderer()->setShouldDoFullPaintInvalidation();
|
| + if (input->layoutObject())
|
| + input->layoutObject()->setShouldDoFullPaintInvalidation();
|
|
|
| if (filesChanged) {
|
| // This call may cause destruction of this instance.
|
|
|