Creating contents state byte array before opening stream
Changed TabState.saveState to be able to safely write mapped byte buffers by opening FileOutputStream after retrieving buffer contents. Removed unnecessary call to FileChannel.write which is not guaranteed to write all bytes. BUG=626815 Review-Url: https://codereview.chromium.org/2138503002 Cr-Commit-Position: refs/heads/master@{#405299}
Showing
Please register or sign in to comment