Copy ArrayBuffer into net::IOBuffer in chrome.hid.sendFeatureReport.
Copy ArrayBuffer into net::IOBuffer in chrome.hid.sendFeatureReport.

Unless the ArrayBuffer passed to chrome.hid.sendFeatureReport is copied
into the net::IOBuffer written to the device then this API will just send
random bytes of uninitialized memory to the device.

This bug was introduced during the refactoring in r253853.

BUG=407414

Review URL: https://codereview.chromium.org/480373002

Cr-Commit-Position: refs/heads/master@{#290473}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290473 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit 1eaf664c4bd32593ccce453beacf44e8cb7b46de)

Review URL: https://codereview.chromium.org/538853002

Cr-Commit-Position: 0d344d3782ceeadf0e8e8be3f4ce70193b218c54@{#210}
Cr-Branched-From: 2cb3f0147827a1600e8cbbcc52ca24c0febcb7a4@{#290040}

ondra-novak/chromium.src,littlstar/chromium.src,ondra-novak/chromium.src,littlstar/chromium.src,ondra-novak/chromium.src,ondra-novak/chromium.src,littlstar/chromium.src,littlstar/chromium.src,ondra-novak/chromium.src,ondra-novak/chromium.src,ondra-novak/chromium.src,bright-sparks/chromium-spacewalk,littlstar/chromium.src,ondra-novak/chromium.src,littlstar/chromium.src,ondra-novak/chromium.src,bright-sparks/chromium-spacewalk,littlstar/chromium.src,bright-sparks/chromium-spacewalk,bright-sparks/chromium-spacewalk,bright-sparks/chromium-spacewalk,bright-sparks/chromium-spacewalk,bright-sparks/chromium-spacewalk,bright-sparks/chromium-spacewalk,littlstar/chromium.src,bright-sparks/chromium-spacewalk