The easy way also happens to be more efficient if we have to reallocate, but that's a minor concern here. Review URL: https://codereview.webrtc.org/1327053002 Cr-Commit-Position: refs/heads/master@{#9876}