From 4f356fa5f200039ab9f963b24ee4dbc1be2460c0 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Fri, 11 Sep 2015 14:50:46 -0700 Subject: [PATCH] Draw the debugging checkerboard pattern at the correct scale --- sky/compositor/picture_rasterizer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sky/compositor/picture_rasterizer.cc b/sky/compositor/picture_rasterizer.cc index 0b629523675..bffff1e278a 100644 --- a/sky/compositor/picture_rasterizer.cc +++ b/sky/compositor/picture_rasterizer.cc @@ -91,7 +91,7 @@ RefPtr PictureRasterzier::ImageFromPicture( if (context.options().isEnabled( CompositorOptions::Option::HightlightRasterizedImages)) { - DrawCheckerboard(canvas, desc.fWidth, desc.fHeight); + DrawCheckerboard(canvas, backendDesc.fWidth, backendDesc.fHeight); } // Step 4: Create an image representation from the texture