aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkReadBuffer.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2014-11-12 11:42:53 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-11-12 11:42:53 -0800
commit09a79d09981ee363b1518bb40c108e6266bc28c6 (patch)
tree11f98b0602fa48860a72e63a36c6dcca70b0b04d /src/core/SkReadBuffer.cpp
parent395ef0568dac793020f66cbec4b6ef86736d4db0 (diff)
cleanup comments
Diffstat (limited to 'src/core/SkReadBuffer.cpp')
-rw-r--r--src/core/SkReadBuffer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkReadBuffer.cpp b/src/core/SkReadBuffer.cpp
index ca65f606d0..390b6b1372 100644
--- a/src/core/SkReadBuffer.cpp
+++ b/src/core/SkReadBuffer.cpp
@@ -259,9 +259,9 @@ bool SkReadBuffer::readBitmap(SkBitmap* bitmap) {
// This bitmap was encoded when written, but we are unable to decode, possibly due to
// not having a decoder.
SkErrorInternals::SetError(kParseError_SkError,
- "Could not decode bitmap. Resulting bitmap will be red.");
+ "Could not decode bitmap. Resulting bitmap will be empty.");
// Even though we weren't able to decode the pixels, the readbuffer should still be
- // intact, so we return true with an empty bitmap, so we don't for an abort of the
+ // intact, so we return true with an empty bitmap, so we don't force an abort of the
// larger deserialize.
bitmap->setInfo(SkImageInfo::MakeUnknown(width, height));
return true;