| Index: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
|
| diff --git a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
|
| index e240113bd50041fca9098e1d1175de9b0a5a7191..d52c89cb03a857138134ec340e5f067479e41078 100644
|
| --- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
|
| +++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
|
| @@ -38,6 +38,7 @@
|
| #include "core/dom/XMLDocument.h"
|
| #include "core/editing/serializers/Serialization.h"
|
| #include "core/events/Event.h"
|
| +#include "core/events/ProgressEvent.h"
|
| #include "core/fetch/CrossOriginAccessControl.h"
|
| #include "core/fetch/FetchInitiatorTypeNames.h"
|
| #include "core/fetch/FetchUtils.h"
|
| @@ -59,7 +60,6 @@
|
| #include "core/page/ChromeClient.h"
|
| #include "core/page/Page.h"
|
| #include "core/streams/Stream.h"
|
| -#include "core/xmlhttprequest/XMLHttpRequestProgressEvent.h"
|
| #include "core/xmlhttprequest/XMLHttpRequestUpload.h"
|
| #include "platform/FileMetadata.h"
|
| #include "platform/HTTPNames.h"
|
| @@ -863,7 +863,7 @@ void XMLHttpRequest::createRequest(PassRefPtr<EncodedFormData> httpBody, Excepti
|
| dispatchProgressEvent(EventTypeNames::loadstart, 0, 0);
|
| if (httpBody && m_upload) {
|
| uploadEvents = m_upload->hasEventListeners();
|
| - m_upload->dispatchEvent(XMLHttpRequestProgressEvent::create(EventTypeNames::loadstart));
|
| + m_upload->dispatchEvent(ProgressEvent::create(EventTypeNames::loadstart, false, 0, 0));
|
| }
|
| }
|
|
|
|
|