Chromium Code Reviews
DescriptionBlink side of the change to pass the system font metrics from the browser to the renderer on Windows
This change is needed to support Win32K lockdown mode in the renderer
process which prevents it from making user32/gdi32 calls which call into
win32k.sys on Windows 8+. Currently the renderer process crashes in the
Win32K lockdown mode while attempting to retrieve system font metrics.
Changes in this patch are as below:-
1. Updated the WebFontRendering interface with static methods to set the
menu font, small caption font and status font metrics.
2. These methods are implemented by the FontCache class on Windows.
3. Changed the RenderThemeChromiumFontProvider class to retrieve the
font metrics from the FontCache class before querying the system
for the same.
BUG=442158
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187943
Patch Set 1 #
Total comments: 3
Patch Set 2 : Address review comments #
Messages
Total messages: 16 (4 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||