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

Unified Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h

Issue 2427553002: Fix XHR's logic to determine whether or not to dispatch upload progress events
Patch Set: a Created 4 years, 2 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
Index: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h
diff --git a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h
index bb6c7d3d3bcce55a1bab131516d8480c8adef528..e412a14182664727902b687aba1ea3bc80c2e370 100644
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h
+++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h
@@ -332,8 +332,8 @@ class XMLHttpRequest final : public XMLHttpRequestEventTarget,
// this separate flag since m_responseDocument can be 0 for some cases.
bool m_parsedResponse;
bool m_error;
- bool m_uploadEventsAllowed;
- bool m_uploadComplete;
+ bool m_uploadListenerFlag;
+ bool m_uploadCompleteFlag;
bool m_sameOriginRequest;
// True iff the ongoing resource loading is using the downloadToFile
// option.

Powered by Google App Engine
This is Rietveld 408576698