Changeset 245019 in webkit
- Timestamp:
- May 7, 2019 11:42:16 AM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r245006 r245019 1 2019-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 1 14 2019-05-07 Antti Koivisto <antti@apple.com> 2 15 -
trunk/Source/WebCore/platform/Logging.h
r244900 r245019 43 43 M(ApplePay) \ 44 44 M(Archives) \ 45 M(ClipRects) \46 45 M(Compositing) \ 47 46 M(ContentFiltering) \ -
trunk/Source/WebCore/rendering/ClipRect.cpp
r244900 r245019 39 39 } 40 40 41 TextStream& operator<<(TextStream& ts, const ClipRect& clipRect)42 {43 ts << "rect ";44 if (clipRect.isInfinite())45 ts << "infinite";46 else47 ts << clipRect.rect();48 49 if (clipRect.affectedByRadius())50 ts << " affected by radius";51 return ts;52 41 } 53 54 } -
trunk/Source/WebCore/rendering/ClipRect.h
r244900 r245019 27 27 28 28 #include "LayoutRect.h" 29 30 namespace WTF {31 class TextStream;32 }33 29 34 30 namespace WebCore { … … 108 104 } 109 105 110 WTF::TextStream& operator<<(WTF::TextStream&, const ClipRect&);111 112 106 } // namespace WebCore -
trunk/Source/WebCore/rendering/RenderLayer.cpp
r244900 r245019 269 269 } 270 270 271 #if !LOG_DISABLED272 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 #endif283 284 271 RenderLayer::RenderLayer(RenderLayerModelObject& rendererLayerModelObject) 285 272 : m_isRenderViewLayer(rendererLayerModelObject.isRenderView()) … … 5542 5529 } 5543 5530 } 5544 5545 LOG_WITH_STREAM(ClipRects, stream << "RenderLayer " << this << " calculateClipRects " << clipRects);5546 5531 } 5547 5532 … … 5593 5578 if (parentRects->fixed() && &clipRectsContext.rootLayer->renderer() == &view && !backgroundClipRect.isInfinite()) 5594 5579 backgroundClipRect.moveBy(view.frameView().scrollPositionForFixedPosition()); 5595 5596 LOG_WITH_STREAM(ClipRects, stream << "RenderLayer " << this << " backgroundClipRect with context " << clipRectsContext << " returning " << backgroundClipRect);5597 5580 return backgroundClipRect; 5598 5581 } … … 6757 6740 } 6758 6741 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 6774 6742 TextStream& operator<<(TextStream& ts, const RenderLayer& layer) 6775 6743 { … … 6790 6758 } 6791 6759 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 6801 6760 } // namespace WebCore 6802 6761 -
trunk/Source/WebCore/rendering/RenderLayer.h
r244900 r245019 1370 1370 bool compositedWithOwnBackingStore(const RenderLayer&); 1371 1371 1372 WTF::TextStream& operator<<(WTF::TextStream&, ClipRectsType);1373 1372 WTF::TextStream& operator<<(WTF::TextStream&, const RenderLayer&); 1374 WTF::TextStream& operator<<(WTF::TextStream&, const RenderLayer::ClipRectsContext&);1375 1373 1376 1374 } // namespace WebCore
Note: See TracChangeset
for help on using the changeset viewer.