The crash is caused when a guest is attached, a parameter "repaint" is passed...
The 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 Review URL: https://codereview.chromium.org/385173003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282711 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment