⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 246032 in webkit


Ignore:
Timestamp:
Jun 3, 2019, 2:43:41 AM (7 years ago)
Author:
Fujii Hironori
Message:

REGRESSION(r240862) [WinCairo][WK2] position:fixed elements don't show
https://bugs.webkit.org/show_bug.cgi?id=198478

Reviewed by Carlos Garcia Campos.

All position:fixed elements didn't show in WinCairo WebKit2 since
r240862 which turns acceleratedCompositingEnabled on for WebKit2.
WinCairo WebKit2 doesn't have accelerated compositing support yet.
Let's do the same with GTK port.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::updatePreferences): Conditioned out the code
enabling acceleratedCompositingEnabled for PLATFORM(WIN).

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r246030 r246032  
     12019-06-03  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        REGRESSION(r240862) [WinCairo][WK2] position:fixed elements don't show
     4        https://bugs.webkit.org/show_bug.cgi?id=198478
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        All position:fixed elements didn't show in WinCairo WebKit2 since
     9        r240862 which turns acceleratedCompositingEnabled on for WebKit2.
     10        WinCairo WebKit2 doesn't have accelerated compositing support yet.
     11        Let's do the same with GTK port.
     12
     13        * WebProcess/WebPage/WebPage.cpp:
     14        (WebKit::WebPage::updatePreferences): Conditioned out the code
     15        enabling acceleratedCompositingEnabled for PLATFORM(WIN).
     16
    1172019-06-03  Carlos Garcia Campos  <cgarcia@igalia.com>
    218
  • trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp

    r245902 r246032  
    35203520    Settings& settings = m_page->settings();
    35213521
    3522 #if !PLATFORM(GTK)
     3522#if !PLATFORM(GTK) && !PLATFORM(WIN)
    35233523    if (!settings.acceleratedCompositingEnabled()) {
    35243524        RELEASE_LOG_IF_ALLOWED("%p - WebPage - acceleratedCompositingEnabled setting was false. WebKit cannot function in this mode; changing setting to true", this);
Note: See TracChangeset for help on using the changeset viewer.