EventPath::updateTouchLists goes through m_path thrice by calling updateTouchListsInEventPath. Given that nodes tend to be scattered across multiple pages, this is a very inefficient operation. It's much better to loop over touch lists or touch objects while the outer loop traverses through EventPath.
Created attachment 214219 [details] Cleanup
Comment on attachment 214219 [details] Cleanup Attachment 214219 [details] did not pass efl-ews (efl): Output: http://webkit-queues.appspot.com/results/4039023
Comment on attachment 214219 [details] Cleanup Attachment 214219 [details] did not pass efl-wk2-ews (efl-wk2): Output: http://webkit-queues.appspot.com/results/4039022
Created attachment 214220 [details] Fixed builds
Comment on attachment 214220 [details] Fixed builds Attachment 214220 [details] did not pass efl-ews (efl): Output: http://webkit-queues.appspot.com/results/4041023
Comment on attachment 214220 [details] Fixed builds Attachment 214220 [details] did not pass efl-wk2-ews (efl-wk2): Output: http://webkit-queues.appspot.com/results/4001046
Comment on attachment 214220 [details] Fixed builds View in context: https://bugs.webkit.org/attachment.cgi?id=214220&action=review > Source/WebCore/dom/EventDispatcher.cpp:444 > + const size_t touchNodeCount = touchEvent.touches()->length() + touchEvent.targetTouches()->length() + touchEvent.changedTouches()->length(); No need for the const. I think "touchNode" is confusing. Use totalTouchesCount instead?
Created attachment 214222 [details] Patch for landing
Comment on attachment 214222 [details] Patch for landing Wait for EWS.
Comment on attachment 214222 [details] Patch for landing Attachment 214222 [details] did not pass efl-ews (efl): Output: http://webkit-queues.appspot.com/results/3914093
Comment on attachment 214222 [details] Patch for landing Attachment 214222 [details] did not pass efl-wk2-ews (efl-wk2): Output: http://webkit-queues.appspot.com/results/4039038
Created attachment 214225 [details] Another build fix attempt
Committed r157441: <http://trac.webkit.org/changeset/157441>