Closed Bug 227313 Opened 22 years ago Closed 21 years ago

unused code related to PresShell::ScrollFrameIntoView(nsIFrame*)

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dbaron, Assigned: Usul)

Details

(Whiteboard: [good first bug])

Attachments

(1 file, 1 obsolete file)

The one parameter version of ScrollFrameIntoView on PresShell / nsIFocusTracker is unused, as is the pres shell's mScrollingEnabled member variable and the EnableScrolling and DisableScrolling methods. See: http://lxr.mozilla.org/seamonkey/search?string=EnableScrolling http://lxr.mozilla.org/seamonkey/search?string=DisableScrolling http://lxr.mozilla.org/seamonkey/search?string=mScrollingEnabled http://lxr.mozilla.org/seamonkey/search?string=ScrollFrameIntoView
Whiteboard: [good first bug]
Attached patch Patch removing unused code (obsolete) — Splinter Review
Assignee: core.layout.misc-code → qa-mozilla
Status: NEW → ASSIGNED
Attachment #150132 - Flags: review?
Should I ask review to someone in particular ?
hm... can you explain why your change to, eg, STDMETHODIMP nsAccessNodeWrap::scrollTo(/* [in] */ boolean aScrollTopLeft) is correct? or really any of the changes that removes a caller of ScrollFrameIntoView? - NS_IMETHOD ScrollFrameIntoView(nsIFrame *aFrame, - PRIntn aVPercent, - PRIntn aHPercent) const = 0; this doesn't look like "The one parameter version of ScrollFrameIntoView on PresShell / nsIFocusTracker"...
Ludovic, reasonable reviewers for this change would be dbaron, roc, myself, bryner, or rbs. You should indeed ask someone in particular for review. Note that I'm not going to be able to do any reviews till mid-July, though.
Comment on attachment 150132 [details] [diff] [review] Patch removing unused code I was too focused on the lxr results. Only the one pamareter version of ScrollFrameIntoView is to be removed.
Attachment #150132 - Attachment is obsolete: true
Attachment #150132 - Flags: review?
Attachment #150601 - Flags: review?(roc)
Comment on attachment 150601 [details] [diff] [review] patch adressing the bug cool
Attachment #150601 - Flags: superreview+
Attachment #150601 - Flags: review?(roc)
Attachment #150601 - Flags: review+
Anyone to check this one in ?
Checking in layout/base/public/nsIFocusTracker.h; /cvsroot/mozilla/layout/base/public/nsIFocusTracker.h,v <-- nsIFocusTracker.h new revision: 1.16; previous revision: 1.15 done Checking in layout/html/base/src/nsPresShell.cpp; /cvsroot/mozilla/layout/html/base/src/nsPresShell.cpp,v <-- nsPresShell.cpp new revision: 3.737; previous revision: 3.736 done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: