Remove Win32k usage from nsLookAndFeel::GetFontImpl()
Categories
(Core :: Widget: Win32, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: cmartin, Assigned: cmartin)
References
Details
Attachments
(2 files)
Currently, this API runs in content process and makes calls to ::GetDC()
and SystemParametersInfo()
. This will need to be changed for Win32k lockdown
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Currently, this code creates large and non-trivial classes that will be
difficult to remote. This change creates an intermediate stage where a simple
struct is returned from a function and then used to initialize these
more complex classes.
It is this simple struct that will be remoted across processes
Assignee | ||
Comment 2•4 years ago
|
||
Content processes will now receive cached values for GetFontImpl() from the
parent process during initialization and whenever the theme changes.
This eliminates the use of several Win32k calls in content.
Depends on D83405
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5c8b7db8138c
https://hg.mozilla.org/mozilla-central/rev/2184eaae2299
Description
•