Title: [225397] trunk/Source/WebCore
- Revision
- 225397
- Author
- [email protected]
- Date
- 2017-12-01 10:20:05 -0800 (Fri, 01 Dec 2017)
Log Message
[WinCairo] Wrongly placed scroll bars in HiDPI
https://bugs.webkit.org/show_bug.cgi?id=180066
Patch by Fujii Hironori <[email protected]> on 2017-12-01
Reviewed by Žan Doberšek.
PlatformContextCairo wasn't properly initialized. It should have a
pointer to GraphicsContextPrivate in WinCairo port to paint
controls in right places.
No new tests, no behavior change.
* platform/graphics/win/GraphicsContextCairoWin.cpp:
(WebCore::GraphicsContext::platformInit): Call PlatformContextCairo::setGraphicsContextPrivate.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (225396 => 225397)
--- trunk/Source/WebCore/ChangeLog 2017-12-01 18:11:48 UTC (rev 225396)
+++ trunk/Source/WebCore/ChangeLog 2017-12-01 18:20:05 UTC (rev 225397)
@@ -1,3 +1,19 @@
+2017-12-01 Fujii Hironori <[email protected]>
+
+ [WinCairo] Wrongly placed scroll bars in HiDPI
+ https://bugs.webkit.org/show_bug.cgi?id=180066
+
+ Reviewed by Žan Doberšek.
+
+ PlatformContextCairo wasn't properly initialized. It should have a
+ pointer to GraphicsContextPrivate in WinCairo port to paint
+ controls in right places.
+
+ No new tests, no behavior change.
+
+ * platform/graphics/win/GraphicsContextCairoWin.cpp:
+ (WebCore::GraphicsContext::platformInit): Call PlatformContextCairo::setGraphicsContextPrivate.
+
2017-12-01 Eric Carlson <[email protected]>
[MediaStream] Use CaptureDevice instead of device ID to identify devices
Modified: trunk/Source/WebCore/platform/graphics/win/GraphicsContextCairoWin.cpp (225396 => 225397)
--- trunk/Source/WebCore/platform/graphics/win/GraphicsContextCairoWin.cpp 2017-12-01 18:11:48 UTC (rev 225396)
+++ trunk/Source/WebCore/platform/graphics/win/GraphicsContextCairoWin.cpp 2017-12-01 18:20:05 UTC (rev 225397)
@@ -80,6 +80,7 @@
cairo_t* cr = createCairoContextWithHDC(dc, hasAlpha);
m_data = new GraphicsContextPlatformPrivate(std::make_unique<PlatformContextCairo>(cr));
+ m_data->platformContext.setGraphicsContextPrivate(m_data);
m_data->m_hdc = dc;
if (platformContext()->cr()) {
// Make sure the context starts in sync with our state.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes