bug 28553. removed pref that controlled previous fix, since that fix is good to go.
r=troy a=rickg
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user