| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |