• kenrb's avatar
    Fix use of arraysize in GamepadProvider · da87e719
    kenrb authored
    Arraysize was being used for destination array sizes in memcpy and
    memcmp, which returns the number of elements rather than the number of
    bytes, as these functions expect. The result is that the entire arrays
    were not getting copied.
    
    BUG=469151
    
    Review URL: https://codereview.chromium.org/1028673002
    
    Cr-Commit-Position: refs/heads/master@{#321587}
    da87e719
gamepad_provider.cc 10.4 KB