Changeset 21905 in webkit
- Timestamp:
- May 30, 2007, 4:03:51 PM (18 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r21904 r21905 1 2007-05-30 Beth Dakin <bdakin@apple.com> 2 3 Reviewed by Hyatt. 4 5 Fix for <rdar://problem/5198882> CrashTracer: [USER] 7 crashes in 6 Safari at com.apple.WebCore: WebCore::RenderBlock::layoutBlock + 7 2360 8 9 The problem is that we are re-entering layout when we should not. 10 http://trac.webkit.org/projects/webkit/changeset/21778 actually 11 fixed this crash, but we have been inspired to add the same guard 12 in two other possibly-dangerous places. 13 14 * page/FrameView.cpp: 15 (WebCore::FrameView::layout): Add the guard in two more places. 16 1 17 2007-05-30 Justin Garcia <justin.garcia@apple.com> 2 18 -
trunk/WebCore/WebCore.xcodeproj/project.pbxproj
r21896 r21905 11527 11527 isa = PBXProject; 11528 11528 buildConfigurationList = 149C284308902B11008A9EFC /* Build configuration list for PBXProject "WebCore" */; 11529 compatibilityVersion = "Xcode 2.4"; 11529 11530 hasScannedForEncodings = 1; 11530 11531 knownRegions = ( … … 11541 11542 projectDirPath = ""; 11542 11543 projectRoot = ""; 11544 shouldCheckCompatibility = 1; 11543 11545 targets = ( 11544 11546 93F198A508245E59001E9ABC /* WebCore */, -
trunk/WebCore/page/FrameView.cpp
r21785 r21905 429 429 d->layoutRoot = 0; 430 430 431 d->midLayout = true; 431 432 m_frame->invalidateSelection(); 433 d->midLayout = false; 432 434 433 435 d->layoutSchedulingEnabled=true; … … 440 442 441 443 // We update our widget positions right after doing a layout. 442 if (!subtree) 444 if (!subtree) { 445 d->midLayout = true; 443 446 static_cast<RenderView*>(root)->updateWidgetPositions(); 447 d->midLayout = false; 448 } 444 449 445 450 // FIXME: Could optimize this and have objects removed from this list
Note:
See TracChangeset
for help on using the changeset viewer.