Fix buffer underflow bug in tab save state.
For Android JellyBean and older, there was a bug in MappedByteBufferAdapter that caused ByteBuffer#rewind() to not be propagated to the underlying buffer, causing buffer underflow when the same buffer was read completely again to save the state. Fix is to manually read the buffer rather than rely on rewind/remaining. BUG=635744 Review-Url: https://codereview.chromium.org/2395493002 Cr-Commit-Position: refs/heads/master@{#422910}
Showing
Please register or sign in to comment