Changeset 103855 in webkit for trunk/Source/WebCore/html/HTMLSelectElement.cpp
- Timestamp:
- Dec 30, 2011, 6:43:33 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/html/HTMLSelectElement.cpp
r103497 r103855 328 328 PassRefPtr<HTMLOptionsCollection> HTMLSelectElement::options() 329 329 { 330 return HTMLOptionsCollection::create(this); 330 if (!m_optionsCollection) 331 m_optionsCollection = HTMLOptionsCollection::create(this); 332 return m_optionsCollection; 331 333 } 332 334 … … 681 683 setOptionsChangedOnRenderer(); 682 684 setNeedsStyleRecalc(); 683 if (!inDocument() )684 m_ collectionInfo.reset();685 if (!inDocument() && m_optionsCollection) 686 m_optionsCollection->invalidateCache(); 685 687 } 686 688
Note:
See TracChangeset
for help on using the changeset viewer.