Index: Source/core/html/forms/FileInputType.cpp |
diff --git a/Source/core/html/forms/FileInputType.cpp b/Source/core/html/forms/FileInputType.cpp |
index 547fd8abda294fe3941c217628fce28b8d141e69..4d565da606b6c3132030b0068cb302d3b54bfd90 100644 |
--- a/Source/core/html/forms/FileInputType.cpp |
+++ b/Source/core/html/forms/FileInputType.cpp |
@@ -303,7 +303,7 @@ void FileInputType::setFiles(PassRefPtrWillBeRawPtr<FileList> files) |
input->setNeedsValidityCheck(); |
if (input->renderer()) |
- input->renderer()->repaint(); |
+ input->renderer()->paintInvalidationForWholeRenderer(); |
if (pathsChanged) { |
// This call may cause destruction of this instance. |