Closed Bug 1190608 Opened 9 years ago Closed 9 years ago

Clean up style in nsXULElement.cpp

Categories

(Core :: XUL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

Details

Attachments

(5 files, 2 obsolete files)

      No description provided.
This is just a few specific things that annoy me.
Also, change the mode line for nsXULElement.cpp to match reality, which is 4 space indentation.
Is it okay if I get poiru to review this, assuming he'd be okay with it?
Flags: needinfo?(bugs)
Minor rebasing. So minor I'm not sure what changed, but git complained.
Attachment #8642819 - Attachment is obsolete: true
Sure (to comment 1)

I'd love to see nsXULElement.cpp to start using 2 spaces though. Perhaps that can be fixed in a different bug.
Flags: needinfo?(bugs)
(In reply to Olli Pettay [:smaug] from comment #9)
> I'd love to see nsXULElement.cpp to start using 2 spaces though. Perhaps
> that can be fixed in a different bug.

Yeah. I started doing that by hand (well, using emacs auto-indenting) but it seemed too tedious and error prone. It would be better done with some kind of actual formatter like poiru has been using.
Comment on attachment 8642818 [details] [diff] [review]
part 1 - Delete trailing whitespace in nsXULElement.cpp and nsXULPrototypeCache.cpp.

try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=cc1270fc3343
Attachment #8642818 - Flags: review?(birunthan)
Attachment #8642820 - Flags: review?(birunthan)
Attachment #8642821 - Flags: review?(birunthan)
Attachment #8642822 - Flags: review?(birunthan)
Attachment #8643063 - Flags: review?(birunthan)
Rebased again. Hopefully that's the last of it.
Attachment #8642821 - Attachment is obsolete: true
Attachment #8642821 - Flags: review?(birunthan)
Attachment #8643186 - Flags: review?(birunthan)
Attachment #8642818 - Flags: review?(birunthan) → review+
Attachment #8642820 - Flags: review?(birunthan) → review+
Attachment #8642822 - Flags: review?(birunthan) → review+
Attachment #8643186 - Flags: review?(birunthan) → review+
Attachment #8643063 - Flags: review?(birunthan) → review+
Thanks for the fast reviews.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: