bug 28553. removed pref that controlled previous fix, since that fix is good to go.

r=troy
a=rickg
This commit is contained in:
buster@netscape.com
2000-03-13 02:40:18 +00:00
parent c5650c0a21
commit cfbd8c4ff1
2 changed files with 0 additions and 16 deletions

View File

@@ -8715,11 +8715,6 @@ nsCSSFrameConstructor::FindPrimaryFrameFor(nsIPresContext* aPresContext,
nsCOMPtr<nsIPresShell> presShell;
aPresContext->GetShell(getter_AddRefs(presShell));
PRBool fixBug28553 = PR_TRUE;
nsCOMPtr<nsIPref> pref(do_GetService(NS_PREF_PROGID));
if (pref) {
pref->GetBoolPref("nglayout.bug28553", &fixBug28553);
}
// We want to be able to quickly map from a content object to its frame,
// but we also want to keep the hash table small. Therefore, many frames
// are not added to the hash table when they're first created:
@@ -8749,9 +8744,6 @@ nsCSSFrameConstructor::FindPrimaryFrameFor(nsIPresContext* aPresContext,
break;
}
else {
if (!fixBug28553) {
break; // the pref was set to skip the fix for bug 28553
}
// We need to check parentFrame's sibling frame as well
parentFrame->GetNextSibling(&parentFrame);
if (!parentFrame) {