OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
4 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 4 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights
reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights
reserved. |
7 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 7 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
8 * Copyright (C) 2010 Google Inc. All rights reserved. | 8 * Copyright (C) 2010 Google Inc. All rights reserved. |
9 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 9 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
10 * | 10 * |
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
718 else | 718 else |
719 toRenderListBox(renderer)->setOptionsChanged(true); | 719 toRenderListBox(renderer)->setOptionsChanged(true); |
720 } | 720 } |
721 } | 721 } |
722 | 722 |
723 const WillBeHeapVector<RawPtrWillBeMember<HTMLElement> >& HTMLSelectElement::lis
tItems() const | 723 const WillBeHeapVector<RawPtrWillBeMember<HTMLElement> >& HTMLSelectElement::lis
tItems() const |
724 { | 724 { |
725 if (m_shouldRecalcListItems) | 725 if (m_shouldRecalcListItems) |
726 recalcListItems(); | 726 recalcListItems(); |
727 else { | 727 else { |
728 #if ASSERT_ENABLED | 728 #if ENABLE(ASSERT) |
729 WillBeHeapVector<RawPtrWillBeMember<HTMLElement> > items = m_listItems; | 729 WillBeHeapVector<RawPtrWillBeMember<HTMLElement> > items = m_listItems; |
730 recalcListItems(false); | 730 recalcListItems(false); |
731 ASSERT(items == m_listItems); | 731 ASSERT(items == m_listItems); |
732 #endif | 732 #endif |
733 } | 733 } |
734 | 734 |
735 return m_listItems; | 735 return m_listItems; |
736 } | 736 } |
737 | 737 |
738 void HTMLSelectElement::invalidateSelectedItems() | 738 void HTMLSelectElement::invalidateSelectedItems() |
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1640 | 1640 |
1641 void HTMLSelectElement::trace(Visitor* visitor) | 1641 void HTMLSelectElement::trace(Visitor* visitor) |
1642 { | 1642 { |
1643 #if ENABLE(OILPAN) | 1643 #if ENABLE(OILPAN) |
1644 visitor->trace(m_listItems); | 1644 visitor->trace(m_listItems); |
1645 #endif | 1645 #endif |
1646 HTMLFormControlElementWithState::trace(visitor); | 1646 HTMLFormControlElementWithState::trace(visitor); |
1647 } | 1647 } |
1648 | 1648 |
1649 } // namespace | 1649 } // namespace |
OLD | NEW |