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

Side by Side Diff: Source/WebCore/html/HTMLFormControlElement.h

Issue 10694124: Merge 122082 - Heap-use-after-free in WebCore::RenderObject::destroyAndCleanupAnonymousWrappers (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 5 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 | « Source/WebCore/ChangeLog ('k') | Source/WebCore/html/HTMLFormControlElement.cpp » ('j') | 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 virtual bool isMouseFocusable() const; 125 virtual bool isMouseFocusable() const;
126 126
127 virtual void didRecalcStyle(StyleChange) OVERRIDE; 127 virtual void didRecalcStyle(StyleChange) OVERRIDE;
128 128
129 virtual void dispatchBlurEvent(PassRefPtr<Node> newFocusedNode); 129 virtual void dispatchBlurEvent(PassRefPtr<Node> newFocusedNode);
130 130
131 // This must be called any time the result of willValidate() has changed. 131 // This must be called any time the result of willValidate() has changed.
132 void setNeedsWillValidateCheck(); 132 void setNeedsWillValidateCheck();
133 virtual bool recalcWillValidate() const; 133 virtual bool recalcWillValidate() const;
134 134
135 bool validationMessageShadowTreeContains(Node*) const;
136
135 private: 137 private:
136 virtual void refFormAssociatedElement() { ref(); } 138 virtual void refFormAssociatedElement() { ref(); }
137 virtual void derefFormAssociatedElement() { deref(); } 139 virtual void derefFormAssociatedElement() { deref(); }
138 140
139 virtual bool isFormControlElement() const { return true; } 141 virtual bool isFormControlElement() const { return true; }
140 142
141 virtual short tabIndex() const; 143 virtual short tabIndex() const;
142 144
143 virtual HTMLFormElement* virtualForm() const; 145 virtual HTMLFormElement* virtualForm() const;
144 virtual bool isDefaultButtonForForm() const; 146 virtual bool isDefaultButtonForForm() const;
(...skipping 23 matching lines...) Expand all
168 bool m_isValid : 1; 170 bool m_isValid : 1;
169 171
170 bool m_wasChangedSinceLastFormControlChangeEvent : 1; 172 bool m_wasChangedSinceLastFormControlChangeEvent : 1;
171 173
172 bool m_hasAutofocused : 1; 174 bool m_hasAutofocused : 1;
173 }; 175 };
174 176
175 } // namespace 177 } // namespace
176 178
177 #endif 179 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | Source/WebCore/html/HTMLFormControlElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698