Index: skia/ext/image_operations.cc |
diff --git a/skia/ext/image_operations.cc b/skia/ext/image_operations.cc |
index 3bb765ff289b7f5c0e4b1e15720361f689067112..6c00129824a63abe24ed944b424a5aa04ec47786 100644 |
--- a/skia/ext/image_operations.cc |
+++ b/skia/ext/image_operations.cc |
@@ -480,8 +480,11 @@ SkBitmap ImageOperations::ResizeBasic(const SkBitmap& source, |
base::TimeTicks resize_start = base::TimeTicks::Now(); |
SkIRect dest = { 0, 0, dest_width, dest_height }; |
- DCHECK(dest.contains(dest_subset)) << |
- "The supplied subset does not fall within the destination image."; |
+ DCHECK(dest.contains(dest_subset)) |
+ << "The supplied subset does not fall within the destination image: " |
+ << dest_width << "x" << dest_height << " does not contain " |
+ << dest.width() << "x" << dest.height() |
+ << "+" << dest.x() << "+" << dest.y(); |
// If the size of source or destination is 0, i.e. 0x0, 0xN or Nx0, just |
// return empty. |