Closed Bug 52279 Opened 25 years ago Closed 25 years ago

[MF][FIX]Dead code in nsWindow.cpp/nsWindow.h

Categories

(Core :: XUL, defect, P1)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: mkaply, Assigned: rods)

Details

(Whiteboard: Fix in hand)

Attachments

(1 file)

The function IsScrollbar starting at: http://lxr.mozilla.org/seamonkey/source/widget/src/windows/nsWindow.cpp#730 Is dead code.
looks like that is kmcclusk's, reassigning.
Assignee: trudelle → kmcclusk
Also PasswordFieldEnter and PasswordFieldExit in windows\nsWindow.cpp. And what's the deal with PasswordFieldInit? It is in nsIKBStateControl.h but no platform seems to do anything with it.
This bug has been marked "future" because the original netscape engineer working on this is over-burdened. If you feel this is an error, that you or another known resource will be working on this bug,or if it blocks your work in some way -- please attach your concern to the bug for reconsideration.
Status: NEW → ASSIGNED
OS: Windows 95 → Windows NT
Target Milestone: --- → Future
Rod, can this code be removed?
Assignee: kmcclusk → rods
Status: ASSIGNED → NEW
Frank, is there any need for PasswordFieldInit() method in nsIKBStateControl.h or for any platform? It doesn't seem to be used anymore.
Status: NEW → ASSIGNED
Priority: P3 → P1
Target Milestone: Future → ---
Summary: Dead code in nsWindow.cpp/nsWindow.h → [MF][FIX]Dead code in nsWindow.cpp/nsWindow.h
Whiteboard: Fix in hand
Attached patch patchSplinter Review
Note: The patch I just included also contains a fix for nsDataObj.cpp, I am removing a printf. I just talked to ftang and he approved the removal of the method "PasswordFieldInit" from the interface.
patch looks good. r=kmcclusk@netscape.com
sr=hyatt
fixed
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
verified on the checkin.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: