Changeset 246418 in webkit
- Timestamp:
- Jun 13, 2019 6:51:09 PM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r246414 r246418 1 2019-06-13 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [WinCairo][WebKitTestRunner] pixel image dump outputs blank images 4 https://bugs.webkit.org/show_bug.cgi?id=198820 5 6 Reviewed by Ross Kirsling. 7 8 WebView window paints nothing because it is moved out of the 9 screen. Send WM_PRINT with memory DC instead of WM_PAINT as well 10 as DumpRenderTree does. 11 12 * WebKitTestRunner/win/PlatformWebViewWin.cpp: 13 (WTR::PlatformWebView::windowSnapshotImage): Send WM_PRINT instead of BitBlt. 14 1 15 2019-06-13 Tim Horton <timothy_horton@apple.com> 2 16 -
trunk/Tools/WebKitTestRunner/win/PlatformWebViewWin.cpp
r244443 r246418 226 226 return nullptr; 227 227 228 ::InvalidateRect(m_window, nullptr, true);229 228 ::SelectObject(memoryDC.get(), bitmap.get()); 230 ::BitBlt(memoryDC.get(), 231 0, 232 0, 233 width, 234 height, 235 windowDC, 236 0, 237 0, 238 SRCCOPY); 229 ::SendMessage(m_window, WM_PRINT, reinterpret_cast<WPARAM>(memoryDC.get()), PRF_CLIENT | PRF_CHILDREN | PRF_OWNED); 239 230 240 231 BITMAP bitmapTag { };
Note: See TracChangeset
for help on using the changeset viewer.