Draw the debugging checkerboard pattern at the correct scale

This commit is contained in:
Chinmay Garde 2015-09-11 14:50:46 -07:00
parent 6180860906
commit 4f356fa5f2

View File

@ -91,7 +91,7 @@ RefPtr<SkImage> 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