Summary: | Use references in public EventSender functions | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> | ||||
Component: | New Bugs | Assignee: | Myles C. Maxfield <mmaxfield> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, dbates, dino, esprehn+autocc, gyuyoung.kim, japhet, jonlee, kangil.han, kling, simon.fraser, thorton | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Myles C. Maxfield
2014-09-02 13:51:11 PDT
Created attachment 237512 [details]
Patch
Comment on attachment 237512 [details]
Patch
r=me
Comment on attachment 237512 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=237512&action=review > Source/WebCore/dom/EventSender.h:78 > size_t size = m_dispatchSoonList.size(); > for (size_t i = 0; i < size; ++i) { Nit: We should update this code to use a C++11 range-for loop. > Source/WebCore/dom/EventSender.h:103 > size_t size = m_dispatchingList.size(); > for (size_t i = 0; i < size; ++i) { Ditto. |