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

Side by Side Diff: Source/core/html/HTMLFormElement.cpp

Issue 331623002: Oilpan: Prepare to move EventQueue and its subclasses to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
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) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 #endif 94 #endif
95 } 95 }
96 96
97 void HTMLFormElement::trace(Visitor* visitor) 97 void HTMLFormElement::trace(Visitor* visitor)
98 { 98 {
99 #if ENABLE(OILPAN) 99 #if ENABLE(OILPAN)
100 visitor->trace(m_pastNamesMap); 100 visitor->trace(m_pastNamesMap);
101 visitor->trace(m_radioButtonGroupScope); 101 visitor->trace(m_radioButtonGroupScope);
102 visitor->trace(m_associatedElements); 102 visitor->trace(m_associatedElements);
103 visitor->trace(m_imageElements); 103 visitor->trace(m_imageElements);
104 visitor->trace(m_pendingAutocompleteEventsQueue);
104 #endif 105 #endif
105 HTMLElement::trace(visitor); 106 HTMLElement::trace(visitor);
106 } 107 }
107 108
108 bool HTMLFormElement::rendererIsNeeded(const RenderStyle& style) 109 bool HTMLFormElement::rendererIsNeeded(const RenderStyle& style)
109 { 110 {
110 if (!m_wasDemoted) 111 if (!m_wasDemoted)
111 return HTMLElement::rendererIsNeeded(style); 112 return HTMLElement::rendererIsNeeded(style);
112 113
113 ContainerNode* node = parentNode(); 114 ContainerNode* node = parentNode();
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 } 800 }
800 801
801 void HTMLFormElement::setDemoted(bool demoted) 802 void HTMLFormElement::setDemoted(bool demoted)
802 { 803 {
803 if (demoted) 804 if (demoted)
804 UseCounter::count(document(), UseCounter::DemotedFormElement); 805 UseCounter::count(document(), UseCounter::DemotedFormElement);
805 m_wasDemoted = demoted; 806 m_wasDemoted = demoted;
806 } 807 }
807 808
808 } // namespace 809 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698