[webkit-changes] [WebKit/WebKit] b762cd: REGRESSION(262812 at main): [CoordinatedGraphics] Con...
Carlos Garcia Campos
noreply at github.com
Wed Apr 12 05:15:49 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b762cdb7aea0c7b99278a29ff4fd94700b586515
https://github.com/WebKit/WebKit/commit/b762cdb7aea0c7b99278a29ff4fd94700b586515
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2023-04-12 (Wed, 12 Apr 2023)
Changed paths:
M Source/WebKit/WebProcess/WebPage/WebPage.cpp
Log Message:
-----------
REGRESSION(262812 at main): [CoordinatedGraphics] Contents rendered at the wrong size in HiDPI
https://bugs.webkit.org/show_bug.cgi?id=255330
Reviewed by Adrian Perez de Castro.
Since 262812 at main we are creating the accelerated surface from drawing
area constructor, but WebPage is setting the device scale factor after
creating the drawing area, so we end up using the unscaled size.
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::m_appHighlightsVisible): Set the device scale factor before creating the drawing area.
Canonical link: https://commits.webkit.org/262867@main
More information about the webkit-changes
mailing list