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

Side by Side Diff: Source/core/html/forms/RadioButtonGroupScope.cpp

Issue 402433005: Oilpan: Remove support for tracing off-heap HashSets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix deadWrapper number in heap tests. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLCanvasElement.cpp ('k') | Source/core/page/Page.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) 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 } 168 }
169 } 169 }
170 170
171 bool RadioButtonGroup::contains(HTMLInputElement* button) const 171 bool RadioButtonGroup::contains(HTMLInputElement* button) const
172 { 172 {
173 return m_members.contains(button); 173 return m_members.contains(button);
174 } 174 }
175 175
176 void RadioButtonGroup::trace(Visitor* visitor) 176 void RadioButtonGroup::trace(Visitor* visitor)
177 { 177 {
178 #if ENABLE(OILPAN)
178 visitor->trace(m_members); 179 visitor->trace(m_members);
179 visitor->trace(m_checkedButton); 180 visitor->trace(m_checkedButton);
181 #endif
180 } 182 }
181 183
182 // ---------------------------------------------------------------- 184 // ----------------------------------------------------------------
183 185
184 // Explicity define empty constructor and destructor in order to prevent the 186 // Explicity define empty constructor and destructor in order to prevent the
185 // compiler from generating them as inlines. So we don't need to to define 187 // compiler from generating them as inlines. So we don't need to to define
186 // RadioButtonGroup in the header. 188 // RadioButtonGroup in the header.
187 RadioButtonGroupScope::RadioButtonGroupScope() 189 RadioButtonGroupScope::RadioButtonGroupScope()
188 { 190 {
189 } 191 }
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 } 275 }
274 276
275 void RadioButtonGroupScope::trace(Visitor* visitor) 277 void RadioButtonGroupScope::trace(Visitor* visitor)
276 { 278 {
277 #if ENABLE(OILPAN) 279 #if ENABLE(OILPAN)
278 visitor->trace(m_nameToGroupMap); 280 visitor->trace(m_nameToGroupMap);
279 #endif 281 #endif
280 } 282 }
281 283
282 } // namespace 284 } // namespace
OLDNEW
« no previous file with comments | « Source/core/html/HTMLCanvasElement.cpp ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698