Changeset 259943 in webkit
- Timestamp:
- Apr 12, 2020 2:27:40 AM (4 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r259942 r259943 1 2020-04-12 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK] Page is not drawn with PSON, hardware acceleration and address typed in URL bar 4 https://bugs.webkit.org/show_bug.cgi?id=208091 5 6 Reviewed by Michael Catanzaro. 7 8 This happens only when accelerated compositing mode policy is set to always. In this case, the 9 bindSurfaceToWebPage wayland message is received before the WebPageProxy has updated the web page identifier. We 10 should always check if there's a provisional page and get its web page identifier. 11 12 * UIProcess/gtk/WaylandCompositor.cpp: 13 (WebKit::WaylandCompositor::bindSurfaceToWebPage): 14 1 15 2020-04-12 Carlos Garcia Campos <cgarcia@igalia.com> 2 16 -
trunk/Source/WebKit/UIProcess/gtk/WaylandCompositor.cpp
r259942 r259943 29 29 #if PLATFORM(WAYLAND) && USE(EGL) && !USE(WPE_RENDERER) 30 30 31 #include "ProvisionalPageProxy.h" 31 32 #include "WebKitWaylandServerProtocol.h" 32 33 #include <EGL/egl.h> … … 559 560 WebPageProxy* webPage = nullptr; 560 561 for (auto* page : m_pageMap.keys()) { 561 if (page->webPageID() == pageID) { 562 auto* provisionalPage = page->provisionalPageProxy(); 563 auto webPageID = provisionalPage ? provisionalPage->webPageID() : page->webPageID(); 564 if (webPageID == pageID) { 562 565 webPage = page; 563 566 break;
Note: See TracChangeset
for help on using the changeset viewer.