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

Unified Diff: Source/core/html/HTMLFormElement.h

Issue 560913005: Move HTMLFormElement bool members to bit-fields (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated Created 6 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLFormElement.h
diff --git a/Source/core/html/HTMLFormElement.h b/Source/core/html/HTMLFormElement.h
index 9dc0a0217938f4d3e7cba1ea485ac254b25e1eae..1772b640e8a19b13adb32930fb9b37439e6321b9 100644
--- a/Source/core/html/HTMLFormElement.h
+++ b/Source/core/html/HTMLFormElement.h
@@ -173,18 +173,18 @@ private:
#if !ENABLE(OILPAN)
WeakPtrFactory<HTMLFormElement> m_weakPtrFactory;
#endif
- bool m_associatedElementsAreDirty;
- bool m_imageElementsAreDirty;
- bool m_hasElementsAssociatedByParser;
- bool m_didFinishParsingChildren;
+ bool m_associatedElementsAreDirty : 1;
+ bool m_imageElementsAreDirty : 1;
+ bool m_hasElementsAssociatedByParser : 1;
+ bool m_didFinishParsingChildren : 1;
- bool m_wasUserSubmitted;
- bool m_isSubmittingOrInUserJSSubmitEvent;
- bool m_shouldSubmit;
+ bool m_wasUserSubmitted : 1;
+ bool m_isSubmittingOrInUserJSSubmitEvent : 1;
+ bool m_shouldSubmit : 1;
- bool m_isInResetFunction;
+ bool m_isInResetFunction : 1;
- bool m_wasDemoted;
+ bool m_wasDemoted : 1;
OwnPtrWillBeMember<GenericEventQueue> m_pendingAutocompleteEventsQueue;
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698