Closed
Bug 1223228
Opened 8 years ago
Closed 8 years ago
remove unused nsFrameManagerBase::mStyleSet
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla45
Tracking | Status | |
---|---|---|
firefox45 | --- | fixed |
People
(Reporter: heycam, Assigned: heycam)
Details
Attachments
(1 file)
5.40 KB,
patch
|
dholbert
:
review+
|
Details | Diff | Splinter Review |
nsFrameManagerBase::mStyleSet is unused and can be removed.
Assignee | ||
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Comment on attachment 8685184 [details] [diff] [review] patch Review of attachment 8685184 [details] [diff] [review]: ----------------------------------------------------------------- Nice! r=me, just one nit: ::: layout/base/nsCSSFrameConstructor.h @@ +54,5 @@ > typedef mozilla::dom::Element Element; > > friend class mozilla::RestyleManager; > > + nsCSSFrameConstructor(nsIDocument *aDocument, nsIPresShell* aPresShell); While you're here, let's bump the "*" to the left in "nsIDocument *aDocument" here. (You did this cleanup in the constructor's definition in the .cpp file, but not here in the declaration in the .h file. Might as well keep 'em consistent.)
Attachment #8685184 -
Flags: review?(dholbert) → review+
Comment 3•8 years ago
|
||
Comment on attachment 8685184 [details] [diff] [review] patch Review of attachment 8685184 [details] [diff] [review]: ----------------------------------------------------------------- ::: layout/base/nsFrameManager.h @@ +81,5 @@ > { > typedef mozilla::layout::FrameChildListID ChildListID; > > public: > + nsFrameManager(nsIPresShell* aPresShell) { Oh, this also needs to now become... MOZ_IMPLICIT nsFrameManager(nsIPresShell* aPresShell) { ...now that it's a 1-arg constructor. (or else you'll trip a static analysis error)
Comment hidden (typo) |
Comment 5•8 years ago
|
||
er, s/MOZ_IMPLICIT/explicit/ of course (we don't want this to be an implicit conversion constructor) (I was remembering MOZ_EXPLICIT, but couldn't find it with MXR, because it was recently renamed; and I mistakenly found MOZ_IMPLICIT)
Comment 7•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/98e376356227
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in
before you can comment on or make changes to this bug.
Description
•