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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 166
167 RadioButtonGroupScope m_radioButtonGroupScope; 167 RadioButtonGroupScope m_radioButtonGroupScope;
168 168
169 // Do not access m_associatedElements directly. Use associatedElements() ins tead. 169 // Do not access m_associatedElements directly. Use associatedElements() ins tead.
170 FormAssociatedElement::List m_associatedElements; 170 FormAssociatedElement::List m_associatedElements;
171 // Do not access m_imageElements directly. Use imageElements() instead. 171 // Do not access m_imageElements directly. Use imageElements() instead.
172 WillBeHeapVector<RawPtrWillBeMember<HTMLImageElement> > m_imageElements; 172 WillBeHeapVector<RawPtrWillBeMember<HTMLImageElement> > m_imageElements;
173 #if !ENABLE(OILPAN) 173 #if !ENABLE(OILPAN)
174 WeakPtrFactory<HTMLFormElement> m_weakPtrFactory; 174 WeakPtrFactory<HTMLFormElement> m_weakPtrFactory;
175 #endif 175 #endif
176 bool m_associatedElementsAreDirty; 176 bool m_associatedElementsAreDirty : 1;
177 bool m_imageElementsAreDirty; 177 bool m_imageElementsAreDirty : 1;
178 bool m_hasElementsAssociatedByParser; 178 bool m_hasElementsAssociatedByParser : 1;
179 bool m_didFinishParsingChildren; 179 bool m_didFinishParsingChildren : 1;
180 180
181 bool m_wasUserSubmitted; 181 bool m_wasUserSubmitted : 1;
182 bool m_isSubmittingOrInUserJSSubmitEvent; 182 bool m_isSubmittingOrInUserJSSubmitEvent : 1;
183 bool m_shouldSubmit; 183 bool m_shouldSubmit : 1;
184 184
185 bool m_isInResetFunction; 185 bool m_isInResetFunction : 1;
186 186
187 bool m_wasDemoted; 187 bool m_wasDemoted : 1;
188 188
189 OwnPtrWillBeMember<GenericEventQueue> m_pendingAutocompleteEventsQueue; 189 OwnPtrWillBeMember<GenericEventQueue> m_pendingAutocompleteEventsQueue;
190 }; 190 };
191 191
192 } // namespace blink 192 } // namespace blink
193 193
194 #endif // HTMLFormElement_h 194 #endif // HTMLFormElement_h
OLDNEW
« 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