Closed Bug 1166960 Opened 9 years ago Closed 9 years ago

Remove redundant call to UnlockPointer

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: xidorn, Assigned: xidorn)

Details

Attachments

(1 file, 1 obsolete file)

Currently, there are two calls to UnlockPointer in nsDocument::RequestFullScreen. According to the comment, they are redundant, and can be merged.
Attached patch patch (obsolete) — Splinter Review
Attachment #8608376 - Flags: review?(bugs)
Comment on attachment 8608376 [details] [diff] [review]
patch

So this changes the behavior in case pointerLockedElement is some other document than this - for example in some other window.
The comment looks wrong to me.
Attachment #8608376 - Flags: review?(bugs) → review-
Summary: Remove redundant call to UnlockPointer in nsDocument::RequestFullScreen → Remove redundant call to UnlockPointer
Attached patch patchSplinter Review
Attachment #8608376 - Attachment is obsolete: true
Comment on attachment 8615772 [details] [diff] [review]
patch

It's June 8 :)

Hopefully you are fine to have new review request now.
Attachment #8615772 - Flags: review?(bugs)
Attachment #8615772 - Flags: review?(bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/553615c0705e
Assignee: nobody → quanxunzhen
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: