gecko-dev/browser
Nathan Froyd 583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
..
app Merge f-t to m-c, a=merge 2015-10-17 11:19:46 -07:00
base Bug 1207137 - Implement weak crypto override UI. r=ttaubert 2015-10-17 09:38:31 +09:00
branding Bug 1209140 - Open a second firstrun tab for Tracking Protection promotion. r=jaws 2015-10-15 13:44:18 -07:00
components Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
config Bug 1210154 - Part 3: Update the clang that we use to build with on OSX as well 2015-10-16 13:27:40 -04:00
docs Bug 1203577 - Remove hardcoded adgroup buckets. r=Mardak. 2015-09-14 14:44:51 -04:00
experiments Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE 2015-10-07 14:03:21 +02:00
extensions Bug 1214766 - Update pdf.js to version 1.1.527. r=bdahl 2015-10-16 16:30:11 -04:00
fuel Bug 1207490 - Part 8: Remove use of expression closure from browser/fuel/. r=Gijs 2015-09-21 02:28:00 +09:00
installer Bug 1204808 - Move devtools prefs to its own file in /devtools folder. r=jryans 2015-10-15 03:47:21 -07:00
locales Bug 1207137 - Implement weak crypto override UI. r=ttaubert 2015-10-17 09:38:31 +09:00
modules Bug 1210940 - New Browser Component: Newtab r=Mardak 2015-10-12 01:29:12 -04:00
themes Bug 1207137 - Implement weak crypto override UI. r=ttaubert 2015-10-17 09:38:31 +09:00
app-rules.mk
app.mozbuild Bug 1211765 - Remove remnants from --with-libxul-sdk. r=bsmedberg 2015-10-14 08:02:34 +09:00
build.mk
confvars.sh Backed out changeset 292d13beeb7b (bug 1186522) for Gaia unit test bustage. 2015-08-28 21:43:37 -04:00
defs.mk
LICENSE
Makefile.in
moz.build Bug 912121 - Adjust build configs and test manifests. r=glandium 2015-09-17 14:35:36 -05:00