RESOLVED FIXED 69812
Move m_listItems and m_recalcListItems from SelectElementData to HTMLSelectElement
https://bugs.webkit.org/show_bug.cgi?id=69812
Summary Move m_listItems and m_recalcListItems from SelectElementData to HTMLSelectEl...
Kent Tamura
Reported 2011-10-10 19:29:16 PDT
Move m_listItems and m_recalcListItems from SelectElementData to HTMLSelectElement
Attachments
Patch (24.52 KB, patch)
2011-10-10 19:30 PDT, Kent Tamura
webkit.review.bot: commit-queue-
Patch 2 (24.49 KB, patch)
2011-10-10 19:47 PDT, Kent Tamura
no flags
Patch for landing (25.23 KB, patch)
2011-10-10 22:58 PDT, Kent Tamura
no flags
Kent Tamura
Comment 1 2011-10-10 19:30:38 PDT
WebKit Review Bot
Comment 2 2011-10-10 19:36:46 PDT
Comment on attachment 110459 [details] Patch Attachment 110459 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/10030195
Early Warning System Bot
Comment 3 2011-10-10 19:37:56 PDT
Gyuyoung Kim
Comment 4 2011-10-10 19:38:14 PDT
Kent Tamura
Comment 5 2011-10-10 19:47:49 PDT
Created attachment 110462 [details] Patch 2 Fix Release build
Ryosuke Niwa
Comment 6 2011-10-10 20:07:47 PDT
Comment on attachment 110462 [details] Patch 2 View in context: https://bugs.webkit.org/attachment.cgi?id=110462&action=review > Source/WebCore/html/HTMLSelectElement.cpp:645 > +void HTMLSelectElement::checkListItems() const > +{ It's unfortunate that we'll end up calling this function even in release builds :(
Kent Tamura
Comment 7 2011-10-10 21:16:05 PDT
Kent Tamura
Comment 8 2011-10-10 21:17:14 PDT
(In reply to comment #7) > Committed r97121: <http://trac.webkit.org/changeset/97121> Landed with an HTMLSelectElementWin.cpp build fix.
Kent Tamura
Comment 9 2011-10-10 21:58:53 PDT
http://build.webkit.org/results/Chromium%20Linux%20Release%20(Tests)/r97121%20(24480)/results.html I rolled r97121 out because of regressions. I should have waited until cr-linux EWS...
Kent Tamura
Comment 10 2011-10-10 22:57:58 PDT
Comment on attachment 110462 [details] Patch 2 View in context: https://bugs.webkit.org/attachment.cgi?id=110462&action=review > Source/WebCore/html/HTMLSelectElement.cpp:656 > + const_cast<HTMLSelectElement*>(this)->recalcListItemsInternal(false); The function argument should not be 'false.' The original code didn't have the bool argument, and the default value is 'true.'
Kent Tamura
Comment 11 2011-10-10 22:58:26 PDT
Created attachment 110478 [details] Patch for landing Fix listItems() error.
WebKit Review Bot
Comment 12 2011-10-11 01:44:49 PDT
Comment on attachment 110478 [details] Patch for landing Clearing flags on attachment: 110478 Committed r97135: <http://trac.webkit.org/changeset/97135>
WebKit Review Bot
Comment 13 2011-10-11 01:44:54 PDT
All reviewed patches have been landed. Closing bug.
Darin Adler
Comment 14 2011-10-11 16:57:37 PDT
Comment on attachment 110462 [details] Patch 2 View in context: https://bugs.webkit.org/attachment.cgi?id=110462&action=review >> Source/WebCore/html/HTMLSelectElement.cpp:645 >> +{ > > It's unfortunate that we'll end up calling this function even in release builds :( The simple way to avoid that is to put an empty inline version of this in the header. Or to make sure this is called only in this file and mark it inline in here.
Note You need to log in before you can comment on or make changes to this bug.