Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(807)

Unified Diff: Source/core/html/forms/FileInputType.cpp

Issue 235933005: Remove unnecessary codes in FileInputType.cpp. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/FileInputType.cpp
diff --git a/Source/core/html/forms/FileInputType.cpp b/Source/core/html/forms/FileInputType.cpp
index d6758d172d67c6ee32be5e9c5ca6bfe6550fe2b7..2fbd187fe9f51f9b7b297f30372ee804a9904432 100644
--- a/Source/core/html/forms/FileInputType.cpp
+++ b/Source/core/html/forms/FileInputType.cpp
@@ -296,10 +296,6 @@ void FileInputType::setFiles(PassRefPtrWillBeRawPtr<FileList> files)
input->notifyFormStateChanged();
input->setNeedsValidityCheck();
- Vector<String> paths;
- for (unsigned i = 0; i < m_fileList->length(); ++i)
- paths.append(m_fileList->item(i)->path());
-
if (input->renderer())
input->renderer()->repaint();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698