Index: dm/DMSrcSink.cpp |
diff --git a/dm/DMSrcSink.cpp b/dm/DMSrcSink.cpp |
index 1a845507d6c4258d85026f0ff5ce47450d9aee9e..06118765e3daa36c933bc373a949158b8147f5ce 100644 |
--- a/dm/DMSrcSink.cpp |
+++ b/dm/DMSrcSink.cpp |
@@ -128,7 +128,7 @@ Error BRDSrc::draw(SkCanvas* canvas) const { |
SkBitmap bitmap; |
if (!brd->decodeRegion(&bitmap, nullptr, SkIRect::MakeXYWH(0, 0, width, height), |
fSampleSize, colorType, false)) { |
- return "Cannot decode region.\n"; |
+ return "Cannot decode (full) region.\n"; |
} |
if (colorType != bitmap.colorType()) { |
return Error::Nonfatal("Cannot convert to color type.\n"); |
@@ -184,7 +184,7 @@ Error BRDSrc::draw(SkCanvas* canvas) const { |
SkBitmap bitmap; |
if (!brd->decodeRegion(&bitmap, nullptr, SkIRect::MakeXYWH(decodeLeft, |
decodeTop, decodeWidth, decodeHeight), fSampleSize, colorType, false)) { |
- return "Cannot not decode region.\n"; |
msarett
2015/11/03 21:22:50
Haha
|
+ return "Cannot decode region.\n"; |
} |
if (colorType != bitmap.colorType()) { |
return Error::Nonfatal("Cannot convert to color type.\n"); |