Show
Ignore:
Timestamp:
04/26/07 11:30:14 (21 months ago)
Author:
hyatt
Message:

Fix for bug 13503, invalidateContainingBlockPrefWidths is 15% of the
nesting PLT. Avoid O(n2) behavior by including inlines in the minmax
dirty chain.

Reviewed by kevin

  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::calcInlinePrefWidths):
  • rendering/RenderObject.cpp: (WebCore::RenderObject::setPrefWidthsDirty): (WebCore::RenderObject::invalidateContainerPrefWidths):
  • rendering/RenderObject.h:
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/rendering/RenderObject.h

    r21093 r21116  
    373373 
    374374    void setPrefWidthsDirty(bool, bool markParents = true); 
    375     void invalidateContainingBlockPrefWidths(); 
     375    void invalidateContainerPrefWidths(); 
    376376     
    377377    void setNeedsLayoutAndPrefWidthsRecalc()