| Index: components/test_runner/pixel_dump.cc
|
| diff --git a/components/test_runner/pixel_dump.cc b/components/test_runner/pixel_dump.cc
|
| index 5bebb1ecbba57898dafac658a242e2dbdfc5e53d..fc859d782c521dfe0b3f6e5ad5301692ce8874ad 100644
|
| --- a/components/test_runner/pixel_dump.cc
|
| +++ b/components/test_runner/pixel_dump.cc
|
| @@ -98,6 +98,8 @@ void CapturePixelsForPrinting(std::unique_ptr<PixelsDumpRequest> dump_request) {
|
| sk_sp<SkCanvas> canvas(skia::TryCreateBitmapCanvas(
|
| page_size_in_pixels.width, totalHeight, is_opaque));
|
| if (!canvas) {
|
| + LOG(ERROR) << "Failed to create canvas width="
|
| + << page_size_in_pixels.width << " height=" << totalHeight;
|
| dump_request->callback.Run(SkBitmap());
|
| return;
|
| }
|
|
|