Closed Bug 908724 Opened 11 years ago Closed 11 years ago

Avoid #including nsPresContext.h in nsIScrollableFrame.h

Categories

(Core :: Layout, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Patch (v1) (obsolete) (deleted) — Splinter Review
No description provided.
Attachment #794731 - Flags: review?(matspal)
Attached patch Patch (v1) (deleted) — Splinter Review
Wrong patch
Attachment #794731 - Attachment is obsolete: true
Attachment #794731 - Flags: review?(matspal)
Attachment #794743 - Flags: review?(matspal)
Comment on attachment 794743 [details] [diff] [review] Patch (v1) Looks good. r=mats A few nits you might want to fix while you're here: >content/events/src/nsEventStateManager.cpp >+ ScrollbarStyles overflowStyle = >+ aScrollableFrame->GetScrollbarStyles(); It looks like this would fit on one line now. >layout/forms/nsListControlFrame.cpp >+ return ScrollbarStyles(NS_STYLE_OVERFLOW_HIDDEN, >+ verticalStyle); this too >layout/base/ScrollbarStyles.h >+struct ScrollbarStyles { I know you just copy-pasted this, but { should go on its own line >+ uint8_t mHorizontal, mVertical; ... and mVertical should be declared on its own line.
Attachment #794743 - Flags: review?(matspal) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: