Commit Graph

9 Commits

Author SHA1 Message Date
Ehsan Akhgari
ea41d8de48 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Andrew McCreight
579cf27dc7 Bug 972601, part 6 - Replace nsDFAState with uint32_t in nsXULTreeStyleCache. r=dbaron
It is now a pointless wrapper around uint32_t.
2014-05-09 09:49:54 -07:00
Andrew McCreight
f2e1fbb35e Bug 972601, part 5 - Convert nsTreeStyleCache::mTransitionTable to nsClassHashtable. r=dbaron
This also turns nsTransitionKey into an inner class of nsTreeStyleCache, and changes it from an nsHashKey to a class to be used with nsGenericHashKey.

It also changes the intermediate values of the hash computation to uints, instead of signed ints, as that seems more right.
2014-05-09 09:49:53 -07:00
Andrew McCreight
4dc2115645 Bug 972601, part 4 - Convert nsTreeStyleCache::mCache to nsRefPtrHashtable. r=dbaron 2014-05-09 09:49:53 -07:00
Andrew McCreight
91b7c33dfd Bug 972601, part 3 - Make nsTreeStyleCache use auto pointers for its hashtables. r=dbaron 2014-05-09 09:49:53 -07:00
Andrew McCreight
a63ec75e48 Bug 972601, part 2 - Delete trailing whitespace from nsXULTreeStyleCache. r=dbaron 2014-05-09 09:49:53 -07:00
Arnaud Sourioux
93b00563d7 Bug 875367: Annotate ~280 more methods with MOZ_OVERRIDE in /layout. r=dholbert 2013-05-29 12:37:49 -07:00
Alexander J. Vincent
288baa7151 Bug 851834 - Remove nsISupportsArray from layout/xul/tree. r=Neil 2013-03-19 08:46:20 -07:00
Alex Vincent
3cb1fd90a9 Bug 833879 - Move layout/xul/base/src/tree/ to layout/xul/tree, layout/xul/base/src/grid to layout/xul/grid. r=roc 2013-02-04 07:11:49 -05:00