Closed Bug 723929 Opened 10 years ago Closed 10 years ago
Avoid access to uninitialized m
Last Paint End Time
I often hit an assertion that mLastPaintEndTime is uninitialized in DispatchPendingEvents on Wine. While there may be a bug in Wine that causes different message sequence that is not observed on Windows, I don't see a reason to believe that it will be set in OnPaint before an attempt to access it, so AFAICT it may happen on Windows as well. The attached patch initializes mLastPaintEndTime in nsWindow constructor.
Attachment #594175 - Flags: review?(roc)
Attachment #594175 - Flags: review?(roc) → review+
Thanks for the review. https://hg.mozilla.org/integration/mozilla-inbound/rev/3821d8e96981
Assignee: nobody → jacek
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
You need to log in before you can comment on or make changes to this bug.