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

Changeset 285798 in webkit


Ignore:
Timestamp:
Nov 14, 2021, 8:22:34 PM (5 years ago)
Author:
Fujii Hironori
Message:

[GraphicsLayerWC] Incorrect compositing debug border color
https://bugs.webkit.org/show_bug.cgi?id=233107

Reviewed by Don Olmstead.

GraphicsLayer::updateDebugIndicators() should be called after
changing some layer properties.

  • WebProcess/WebPage/wc/GraphicsLayerWC.cpp:

(WebKit::GraphicsLayerWC::setMasksToBounds):
(WebKit::GraphicsLayerWC::setDrawsContent):
(WebKit::GraphicsLayerWC::setContentsToPlatformLayer):
(WebKit::GraphicsLayerWC::setBackdropFilters):
Call updateDebugIndicators.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r285790 r285798  
     12021-11-14  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        [GraphicsLayerWC] Incorrect compositing debug border color
     4        https://bugs.webkit.org/show_bug.cgi?id=233107
     5
     6        Reviewed by Don Olmstead.
     7
     8        GraphicsLayer::updateDebugIndicators() should be called after
     9        changing some layer properties.
     10
     11        * WebProcess/WebPage/wc/GraphicsLayerWC.cpp:
     12        (WebKit::GraphicsLayerWC::setMasksToBounds):
     13        (WebKit::GraphicsLayerWC::setDrawsContent):
     14        (WebKit::GraphicsLayerWC::setContentsToPlatformLayer):
     15        (WebKit::GraphicsLayerWC::setBackdropFilters):
     16        Call updateDebugIndicators.
     17
    1182021-11-14  Simon Fraser  <simon.fraser@apple.com>
    219
  • trunk/Source/WebKit/WebProcess/WebPage/wc/GraphicsLayerWC.cpp

    r285099 r285798  
    214214    GraphicsLayer::setMasksToBounds(value);
    215215    noteLayerPropertyChanged(WCLayerChange::MasksToBounds);
     216    updateDebugIndicators();
    216217}
    217218
     
    246247    GraphicsLayer::setDrawsContent(value);
    247248    noteLayerPropertyChanged(WCLayerChange::BackingStore);
     249    updateDebugIndicators();
    248250}
    249251
     
    278280    m_platformLayer = platformLayer;
    279281    noteLayerPropertyChanged(WCLayerChange::PlatformLayer);
     282    updateDebugIndicators();
    280283}
    281284
     
    346349        clearBackdropFilters();
    347350    noteLayerPropertyChanged(WCLayerChange::BackdropFilters);
     351    updateDebugIndicators();
    348352    return canCompositeFilters;
    349353}
Note: See TracChangeset for help on using the changeset viewer.