Closed Bug 211281 Opened 21 years ago Closed 21 years ago

optimization for 'rare' oom check

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows 2000
defect
Not set
trivial

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

References

()

Details

Attachments

(1 file)

370   if (!list) {
  373     list = new nsContentList(aDocument, aMatchAtom,
  374                              aMatchNameSpaceId, aRootContent);
  381   }
  383   NS_ENSURE_TRUE(list, NS_ERROR_OUT_OF_MEMORY);

optimization: swap 383 and 381
r+sr=me
Attachment #126826 - Flags: superreview?(bzbarsky)
Attachment #126826 - Flags: review?(bzbarsky)
Attachment #126826 - Flags: superreview?(bzbarsky)
Attachment #126826 - Flags: superreview+
Attachment #126826 - Flags: review?(bzbarsky)
Attachment #126826 - Flags: review+
checked in
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: