commit | dd5a1e094c19fa10202c37c50a1f799e5af5dac0 | [log] [tgz] |
---|---|---|
author | scroggo <scroggo@google.com> | Tue Oct 21 08:06:05 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Oct 21 08:06:06 2014 -0700 |
tree | 789aedc66742e29389bd66f85803285eb0b8e362 | |
parent | c0651c14ed9dc9015d8882885ee42a3c572e8e7e [diff] |
Check SkStream::isAtEnd before attempting to read. In FrontBufferedStream, when attempting to read and buffer more data, do not try to read if the underlying stream is at the end. Prevents a bug where we continue trying to read a stream that has nothing more to read. Review URL: https://codereview.chromium.org/665303002