Index: Source/core/html/FormDataList.cpp |
diff --git a/Source/core/html/FormDataList.cpp b/Source/core/html/FormDataList.cpp |
index f490596b443e8bfa106df38d8ac4e0e81d1f32cd..b564d2cc1021937fb99f861a154737020ea16a7c 100644 |
--- a/Source/core/html/FormDataList.cpp |
+++ b/Source/core/html/FormDataList.cpp |
@@ -115,7 +115,7 @@ void FormDataList::appendKeyValuePairItemsTo(FormData* formData, const WTF::Text |
// Append body |
formData->appendData(header.data(), header.size()); |
if (value.blob()) { |
- if (value.blob()->isFile()) { |
+ if (value.blob()->hasBackingFile()) { |
File* file = toFile(value.blob()); |
// Do not add the file if the path is empty. |
if (!file->path().isEmpty()) |