Closed Bug 983538 Opened 10 years ago Closed 10 years ago

Start converting MFBT to standard Mozilla style

Categories

(Core :: MFBT, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla32

People

(Reporter: n.nethercote, Assigned: n.nethercote)

Details

Attachments

(4 files)

MFBT should use standard Mozilla style.
This just changes indentation; |hg qdiff -w| was empty. I'll merge this with
the following patch before landing.
Attachment #8391026 - Flags: review?(jwalden+bmo)
All the non-indentation changes.
Attachment #8391028 - Flags: review?(jwalden+bmo)
Attachment #8391031 - Flags: review?(jwalden+bmo)
Comment on attachment 8391030 [details] [diff] [review]
(part 2) - Remove a dead field in SplayTree.

Done in bug 986023.
Attachment #8391030 - Flags: review?(jwalden+bmo)
Review ping.
Comment on attachment 8391026 [details] [diff] [review]
(part 1a) - Convert mfbt/SplayTree.h to Mozilla style.

Review of attachment 8391026 [details] [diff] [review]:
-----------------------------------------------------------------

Waldo says froydnj can review here too. Hooray!
Attachment #8391026 - Flags: review?(jwalden+bmo) → review?(nfroyd)
Attachment #8391028 - Flags: review?(jwalden+bmo) → review?(nfroyd)
Attachment #8391031 - Flags: review?(jwalden+bmo) → review?(nfroyd)
Attachment #8391026 - Flags: review?(nfroyd) → review+
Comment on attachment 8391028 [details] [diff] [review]
(part 1b) - Convert mfbt/SplayTree.h to Mozilla style.

Review of attachment 8391028 [details] [diff] [review]:
-----------------------------------------------------------------

::: mfbt/SplayTree.h
@@ +68,3 @@
>    }
>  
> +  T* find(const T& aV)

Gecko style tends to go for verbosity in function arguments...maybe aValue here and in other member functions?
Attachment #8391028 - Flags: review?(nfroyd) → review+
Attachment #8391031 - Flags: review?(nfroyd) → review+
https://hg.mozilla.org/mozilla-central/rev/8b52179e47ee
https://hg.mozilla.org/mozilla-central/rev/677d12a5d608
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: