Changeset 245019 in webkit


Ignore:
Timestamp:
May 7, 2019 11:42:16 AM (5 years ago)
Author:
Ryan Haddad
Message:

Unreviewed, rolling out r244900.

Caused media/track/track-cue-missing.html to fail on debug
queues

Reverted changeset:

"Add logging for RenderLayer clip rects"
https://bugs.webkit.org/show_bug.cgi?id=197547
https://trac.webkit.org/changeset/244900

Location:
trunk/Source/WebCore
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r245006 r245019  
     12019-05-07  Ryan Haddad  <ryanhaddad@apple.com>
     2
     3        Unreviewed, rolling out r244900.
     4
     5        Caused media/track/track-cue-missing.html to fail on debug
     6        queues
     7
     8        Reverted changeset:
     9
     10        "Add logging for RenderLayer clip rects"
     11        https://bugs.webkit.org/show_bug.cgi?id=197547
     12        https://trac.webkit.org/changeset/244900
     13
    1142019-05-07  Antti Koivisto  <antti@apple.com>
    215
  • trunk/Source/WebCore/platform/Logging.h

    r244900 r245019  
    4343    M(ApplePay) \
    4444    M(Archives) \
    45     M(ClipRects) \
    4645    M(Compositing) \
    4746    M(ContentFiltering) \
  • trunk/Source/WebCore/rendering/ClipRect.cpp

    r244900 r245019  
    3939}
    4040
    41 TextStream& operator<<(TextStream& ts, const ClipRect& clipRect)
    42 {
    43     ts << "rect ";
    44     if (clipRect.isInfinite())
    45         ts << "infinite";
    46     else
    47         ts << clipRect.rect();
    48 
    49     if (clipRect.affectedByRadius())
    50         ts << " affected by radius";
    51     return ts;
    5241}
    53 
    54 }
  • trunk/Source/WebCore/rendering/ClipRect.h

    r244900 r245019  
    2727
    2828#include "LayoutRect.h"
    29 
    30 namespace WTF {
    31 class TextStream;
    32 }
    3329
    3430namespace WebCore {
     
    108104}
    109105
    110 WTF::TextStream& operator<<(WTF::TextStream&, const ClipRect&);
    111 
    112106} // namespace WebCore
  • trunk/Source/WebCore/rendering/RenderLayer.cpp

    r244900 r245019  
    269269}
    270270
    271 #if !LOG_DISABLED
    272 static TextStream& operator<<(TextStream& ts, const ClipRects& clipRects)
    273 {
    274     TextStream::GroupScope scope(ts);
    275     ts << indent << "ClipRects\n";
    276     ts << indent << "  overflow  : " << clipRects.overflowClipRect() << "\n";
    277     ts << indent << "  fixed     : " << clipRects.fixedClipRect() << "\n";
    278     ts << indent << "  positioned: " << clipRects.posClipRect() << "\n";
    279 
    280     return ts;
    281 }
    282 #endif
    283 
    284271RenderLayer::RenderLayer(RenderLayerModelObject& rendererLayerModelObject)
    285272    : m_isRenderViewLayer(rendererLayerModelObject.isRenderView())
     
    55425529        }
    55435530    }
    5544    
    5545     LOG_WITH_STREAM(ClipRects, stream << "RenderLayer " << this << " calculateClipRects " << clipRects);
    55465531}
    55475532
     
    55935578    if (parentRects->fixed() && &clipRectsContext.rootLayer->renderer() == &view && !backgroundClipRect.isInfinite())
    55945579        backgroundClipRect.moveBy(view.frameView().scrollPositionForFixedPosition());
    5595 
    5596     LOG_WITH_STREAM(ClipRects, stream << "RenderLayer " << this << " backgroundClipRect with context " << clipRectsContext << " returning " << backgroundClipRect);
    55975580    return backgroundClipRect;
    55985581}
     
    67576740}
    67586741
    6759 TextStream& operator<<(WTF::TextStream& ts, ClipRectsType clipRectsType)
    6760 {
    6761     switch (clipRectsType) {
    6762     case PaintingClipRects: ts << "painting"; break;
    6763     case RootRelativeClipRects: ts << "root-relative"; break;
    6764     case AbsoluteClipRects: ts << "absolute"; break;
    6765     case TemporaryClipRects: ts << "temporary"; break;
    6766     case NumCachedClipRectsTypes:
    6767     case AllClipRectTypes:
    6768         ts << "?";
    6769         break;
    6770     }
    6771     return ts;
    6772 }
    6773 
    67746742TextStream& operator<<(TextStream& ts, const RenderLayer& layer)
    67756743{
     
    67906758}
    67916759
    6792 TextStream& operator<<(TextStream& ts, const RenderLayer::ClipRectsContext& context)
    6793 {
    6794     ts.dumpProperty("root layer:", context.rootLayer);
    6795     ts.dumpProperty("type:", context.clipRectsType);
    6796     ts.dumpProperty("overflow-clip:", context.respectOverflowClip == IgnoreOverflowClip ? "ignore" : "respect");
    6797    
    6798     return ts;
    6799 }
    6800 
    68016760} // namespace WebCore
    68026761
  • trunk/Source/WebCore/rendering/RenderLayer.h

    r244900 r245019  
    13701370bool compositedWithOwnBackingStore(const RenderLayer&);
    13711371
    1372 WTF::TextStream& operator<<(WTF::TextStream&, ClipRectsType);
    13731372WTF::TextStream& operator<<(WTF::TextStream&, const RenderLayer&);
    1374 WTF::TextStream& operator<<(WTF::TextStream&, const RenderLayer::ClipRectsContext&);
    13751373
    13761374} // namespace WebCore
Note: See TracChangeset for help on using the changeset viewer.