Title: [226329] trunk/Source/WebKitLegacy/win
- Revision
- 226329
- Author
- commit-qu...@webkit.org
- Date
- 2018-01-02 11:52:35 -0800 (Tue, 02 Jan 2018)
Log Message
[Win] Web Inspector: Wrongly placed inspector highlight in HiDPI
https://bugs.webkit.org/show_bug.cgi?id=181173
Patch by Fujii Hironori <hironori.fu...@sony.com> on 2018-01-02
Reviewed by Alex Christensen.
* WebNodeHighlight.cpp:
(WebNodeHighlight::update): Scale the GraphicsContext.
Modified Paths
Diff
Modified: trunk/Source/WebKitLegacy/win/ChangeLog (226328 => 226329)
--- trunk/Source/WebKitLegacy/win/ChangeLog 2018-01-02 18:29:40 UTC (rev 226328)
+++ trunk/Source/WebKitLegacy/win/ChangeLog 2018-01-02 19:52:35 UTC (rev 226329)
@@ -1,3 +1,13 @@
+2018-01-02 Fujii Hironori <hironori.fu...@sony.com>
+
+ [Win] Web Inspector: Wrongly placed inspector highlight in HiDPI
+ https://bugs.webkit.org/show_bug.cgi?id=181173
+
+ Reviewed by Alex Christensen.
+
+ * WebNodeHighlight.cpp:
+ (WebNodeHighlight::update): Scale the GraphicsContext.
+
2017-12-26 Carlos Alberto Lopez Perez <clo...@igalia.com>
REGRESSION(r225769): Build error with constexpr std::max // std::min in libdstdc++4
Modified: trunk/Source/WebKitLegacy/win/WebNodeHighlight.cpp (226328 => 226329)
--- trunk/Source/WebKitLegacy/win/WebNodeHighlight.cpp 2018-01-02 18:29:40 UTC (rev 226328)
+++ trunk/Source/WebKitLegacy/win/WebNodeHighlight.cpp 2018-01-02 19:52:35 UTC (rev 226329)
@@ -157,6 +157,7 @@
::SelectObject(hdc.get(), hbmp.get());
GraphicsContext context(hdc.get());
+ context.scale(m_inspectedWebView->page()->deviceScaleFactor());
m_inspectedWebView->page()->inspectorController().drawHighlight(context);
BLENDFUNCTION bf;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes