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

Unified Diff: Source/core/xml/XMLHttpRequest.h

Issue 346033003: [XHR] Move bools to end of class declaration for better padding (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move bools to end of class declaration for better padding Created 6 years, 6 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 | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XMLHttpRequest.h
diff --git a/Source/core/xml/XMLHttpRequest.h b/Source/core/xml/XMLHttpRequest.h
index 5025564c31942736111080fbf992324ee74ddc31..3f5ca2b74d5907865b8dad06d86af7390221c2ae 100644
--- a/Source/core/xml/XMLHttpRequest.h
+++ b/Source/core/xml/XMLHttpRequest.h
@@ -221,8 +221,6 @@ private:
AtomicString m_method;
HTTPHeaderMap m_requestHeaders;
AtomicString m_mimeTypeOverride;
- bool m_async;
- bool m_includeCredentials;
unsigned long m_timeoutMilliseconds;
RefPtrWillBeMember<Blob> m_responseBlob;
RefPtrWillBeMember<Stream> m_responseStream;
@@ -236,9 +234,6 @@ private:
OwnPtr<TextResourceDecoder> m_decoder;
ScriptString m_responseText;
- // Used to skip m_responseDocument creation if it's done previously. We need
- // this separate flag since m_responseDocument can be 0 for some cases.
- bool m_createdDocument;
RefPtrWillBeMember<Document> m_responseDocument;
RefPtr<SharedBuffer> m_binaryResponseBuilder;
@@ -246,12 +241,6 @@ private:
RefPtr<ArrayBuffer> m_responseArrayBuffer;
- bool m_error;
-
- bool m_uploadEventsAllowed;
- bool m_uploadComplete;
-
- bool m_sameOriginRequest;
// Used for onprogress tracking
long long m_receivedLength;
@@ -269,6 +258,16 @@ private:
ResponseTypeCode m_responseTypeCode;
AsyncMethodRunner<XMLHttpRequest> m_dropProtectionRunner;
RefPtr<SecurityOrigin> m_securityOrigin;
+
+ bool m_async;
+ bool m_includeCredentials;
+ // Used to skip m_responseDocument creation if it's done previously. We need
+ // this separate flag since m_responseDocument can be 0 for some cases.
+ bool m_createdDocument;
+ bool m_error;
+ bool m_uploadEventsAllowed;
+ bool m_uploadComplete;
+ bool m_sameOriginRequest;
};
} // namespace WebCore
« no previous file with comments | « no previous file | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698