Index: Source/core/xml/XMLHttpRequest.cpp |
diff --git a/Source/core/xml/XMLHttpRequest.cpp b/Source/core/xml/XMLHttpRequest.cpp |
index 2aa1a4c2553ad34a26eb31a3f5404708b4d3c8e7..37f2aed951a39599506101b84c90fa4cfe72267f 100644 |
--- a/Source/core/xml/XMLHttpRequest.cpp |
+++ b/Source/core/xml/XMLHttpRequest.cpp |
@@ -1223,7 +1223,7 @@ void XMLHttpRequest::didSendData(unsigned long long bytesSent, unsigned long lon |
return; |
if (m_uploadEventsAllowed) |
- m_upload->dispatchEvent(XMLHttpRequestProgressEvent::create(EventTypeNames::progress, true, bytesSent, totalBytesToBeSent)); |
+ m_upload->dispatchProgressEvent(bytesSent, totalBytesToBeSent); |
if (bytesSent == totalBytesToBeSent && !m_uploadComplete) { |
m_uploadComplete = true; |