Summary: | HIDGamepad should use CFIndex when looping | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Dean Jackson <dino> | ||||||
Component: | New Bugs | Assignee: | Dean Jackson <dino> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bunhere, cdumez, commit-queue, gyuyoung.kim, sergio | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Dean Jackson
2014-06-25 22:42:57 PDT
Created attachment 233884 [details]
Patch
Comment on attachment 233884 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=233884&action=review > Source/WebCore/platform/mac/HIDGamepad.cpp:79 > + CFIndex count = CFArrayGetCount(elements); > + for (CFIndex i = 0; i < count; ++i) { Our usual style for this is for (CFIndex i = 0, count = CFArrayGetCount(elements); i < count; ++i) Created attachment 233887 [details]
Patch
Comment on attachment 233887 [details] Patch Clearing flags on attachment: 233887 Committed r170469: <http://trac.webkit.org/changeset/170469> |