Closed Bug 1161743 Opened 9 years ago Closed 9 years ago

Upgrade "WARNING: Not expiration-tracking an unlocked surface!" to an assertion

Categories

(Core :: Graphics: ImageLib, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: seth, Assigned: seth)

References

Details

Attachments

(1 file)

Splitting this out of bug 1161722 in case it turns out that the assertion currently fires and this change gets backed out, but let's upgrade  "WARNING: Not expiration-tracking an unlocked surface!" in SurfaceCache.cpp to an NS_ASSERTION. It's a serious issue, as it implies corruption of internal data structures, and so we want to fail fast if any patch causes it to fire.
rs=me on s/NS_WARN_IF_FALSE/NS_ASSERTION/ for this warning.
Attachment #8601724 - Flags: review?(dholbert) → review+
Looks like the assertion didn't fire in that try job, so let's go ahead and land this.
https://hg.mozilla.org/mozilla-central/rev/46dbbaed8618
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: