Changeset 40313 in webkit
- Timestamp:
- Jan 28, 2009 9:39:41 AM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r40312 r40313 1 2009-01-28 David Hyatt <hyatt@apple.com> 2 3 Fix for 4 5 <rdar://problem/6531287> REGRESSION: CrashTracer: [USER] 12 crashes in Safari at com.apple.WebCore • WebCore::RenderBlock::removeFloatingObject + 59 6 7 My tightening up of markAllDescendantsWithFloatsForLayout exposed a buggy check in that code that could 8 lead to a bad cast. 9 10 * rendering/RenderBlock.cpp: 11 (WebCore::RenderBlock::markAllDescendantsWithFloatsForLayout): 12 1 13 2009-01-27 David Hyatt <hyatt@apple.com> 2 14 -
trunk/WebCore/rendering/RenderBlock.cpp
r40312 r40313 3056 3056 if (!childrenInline()) { 3057 3057 for (RenderObject* child = firstChild(); child; child = child->nextSibling()) { 3058 if ( isBlockFlow() && !child->isFloatingOrPositioned() &&3058 if (child->isRenderBlock() && !child->isFloatingOrPositioned() && 3059 3059 ((floatToRemove ? child->containsFloat(floatToRemove) : child->containsFloats()) || child->shrinkToAvoidFloats())) 3060 3060 static_cast<RenderBlock*>(child)->markAllDescendantsWithFloatsForLayout(floatToRemove, inLayout);
Note: See TracChangeset
for help on using the changeset viewer.