Changeset 26865 in webkit
- Timestamp:
- Oct 22, 2007 12:31:01 AM (17 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r26864 r26865 1 2007-10-22 David Hyatt <hyatt@apple.com> 2 3 Fix for 15596, regression from my transform changes. Preserve null checks on the clip rects calls for parent(), 4 since the method is called on orphaned layers. This is not very well understood. 5 6 Reviewed by eric 7 8 * rendering/RenderLayer.cpp: 9 (WebCore::RenderLayer::calculateClipRects): 10 (WebCore::RenderLayer::calculateRects): 11 1 12 2007-10-21 Mark Rowe <mrowe@apple.com> 2 13 -
trunk/WebCore/rendering/RenderLayer.cpp
r26843 r26865 1742 1742 return; // We have the correct cached value. 1743 1743 1744 if (rootLayer == this ) {1744 if (rootLayer == this || !parent()) { 1745 1745 // The root layer's clip rect is always just its dimensions. 1746 1746 m_clipRects = new (m_object->renderArena()) ClipRects(IntRect(0,0,width(),height())); … … 1812 1812 IntRect& backgroundRect, IntRect& foregroundRect, IntRect& outlineRect) const 1813 1813 { 1814 if (rootLayer != this ) {1814 if (rootLayer != this && parent()) { 1815 1815 parent()->calculateClipRects(rootLayer); 1816 1816
Note: See TracChangeset
for help on using the changeset viewer.