Closed Bug 579258 Opened 15 years ago Closed 15 years ago

Remove nsIWidget::Scroll and related code

Categories

(Core :: Widget, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: roc, Assigned: roc)

References

Details

Attachments

(3 files)

Post 564991, it is no longer used. There is also scroll analysis code in nsDisplayList.cpp that is no longer used.
Change IsVaryingRelativeToMovingFrame to take the "moving frame" as a direct parameter instead of getting it from the builder. This simplifies things a bit and makes it easier to remove all the other code related to "moving frames".
Assignee: nobody → roc
Attachment #462324 - Flags: review?(tnikkel)
Mostly removing the "before move" region parameter to ComputeVisibility, which is totally unused now.
Attachment #462326 - Flags: review?(tnikkel)
This is purely removing dead code.
Attachment #462327 - Flags: review?(karlt)
Comment on attachment 462327 [details] [diff] [review] Part 3: remove nsIWidget::Scroll nsSimpleRef<pixman_region32> and pixman.h can also be removed from gtk2/nsWindow.cpp. $(MOZ_CAIRO_LIBS) can be removed from gtk2/Makefile.in. Probably $(MOZ_CAIRO_CFLAGS) can also be removed, though I'm not sure how gfxASurface.h gets cairo.h.
Attachment #462327 - Flags: review?(karlt) → review+
Attachment #462324 - Flags: review?(tnikkel) → review+
Attachment #462326 - Flags: review?(tnikkel) → review+
(In reply to comment #4) > Comment on attachment 462327 [details] [diff] [review] > Part 3: remove nsIWidget::Scroll > > nsSimpleRef<pixman_region32> and pixman.h can also be removed from > gtk2/nsWindow.cpp. Actually it can't, nsWindow::SetWindowClipRegion still uses it.
Comment on attachment 462324 [details] [diff] [review] Part 1: refactor IsVaryingRelativeToMovingFrame Removing dead code
Attachment #462324 - Flags: approval2.0?
Comment on attachment 462326 [details] [diff] [review] Part 2: Remove remaining "moving frame" code remove dead code
Attachment #462326 - Flags: approval2.0?
Comment on attachment 462327 [details] [diff] [review] Part 3: remove nsIWidget::Scroll remove dead code
Attachment #462327 - Flags: approval2.0?
Attachment #462324 - Flags: approval2.0? → approval2.0+
Attachment #462326 - Flags: approval2.0? → approval2.0+
Attachment #462327 - Flags: approval2.0? → approval2.0+
Whiteboard: [needs landing]
Depends on: 591613
No longer depends on: 591613
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: