DescriptionThe crash is caused when a guest is attached, a parameter "repaint" is passed in. For most device, their scale factor is 1, so we don't need to repaint and "repaint" is set to false. However, for high dpi devices like Mac, the scale factor is 2, rather than 1. Therefore, a DECHECK of the scale factor == 1 is failed.
So we use GetDeviceScaleFactor() to initialize last_device_scale_factor as well.
BUG=393278
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282711
Patch Set 1 #Patch Set 2 : Update the initialition of last_device_scale_factor. #Messages
Total messages: 6 (0 generated)
|