Kris Maglione
023be4c4c0
Bug 1396676: Return already_AddRefed from cookie service GetSingleton() methods. r=jdm
...
These methods return an addrefed raw pointer, which makes them easy to use in
ways that cause leaks. If they're to continue returning an addrefed pointer,
they should explicitly return an already_AddRefed.
This also switches to StaticRefPtr with ClearOnShutdown for the cached
pointers for the sake of sanity.
MozReview-Commit-ID: D0lDpU8Hqug
2017-09-04 15:05:10 -07:00
David Anderson
7ed56b90ff
Refactor PaintThread for async painting. (bug 1377060 part 1, r=mchang)
2017-07-05 15:19:47 -07:00
Wes Kocher
a58f269485
Backed out 2 changesets (bug 1377060) for build bustage a=backout
...
Backed out changeset c8f818803df7 (bug 1377060)
Backed out changeset bf11ec80b0fb (bug 1377060)
MozReview-Commit-ID: Hp1PtpWYOWV
2017-07-03 11:44:58 -07:00
David Anderson
e55bfe6efc
Refactor PaintThread for async painting. (bug 1377060 part 1, r=mchang)
2017-07-03 11:20:33 -07:00
Andrew McCreight
ed00e9c321
Bug 1287623, part 3 - Add more methods involving StaticRefPtr. r=froydnj
...
This patch adds a number of standard conversions to and from RefPtr<>
and already_AddRefed<>.
2016-07-21 09:54:17 -07:00
Wes Kocher
971937eaaf
Backed out 5 changesets (bug 1287623) for static build bustage CLOSED TREE
...
Backed out changeset a48daec87ec9 (bug 1287623)
Backed out changeset 248153344e15 (bug 1287623)
Backed out changeset 8aa409c9b1ce (bug 1287623)
Backed out changeset 602d4d88e806 (bug 1287623)
Backed out changeset 114da8bdc0b0 (bug 1287623)
2016-07-20 15:40:33 -07:00
Andrew McCreight
76c16b4fef
Bug 1287623, part 3 - Add more methods involving StaticRefPtr. r=froydnj
...
This patch adds a number of standard conversions to and from RefPtr<>
and already_AddRefed<>.
2016-07-20 15:19:00 -07:00
Masatoshi Kimura
bae0a32948
Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo
2015-01-11 11:34:52 +09:00
Ehsan Akhgari
26e53bebdb
Bug 1114880 follow-up: Rename MOZ_{STRONG,WEAK}_REF to MOZ_{OWNING,NON_OWNING}_REF
2014-12-23 21:17:50 -05:00
Ehsan Akhgari
23405e0fc0
Bug 1114880 - Annotate some strong and weak references in XPCOM; r=froydnj
2014-12-23 17:27:48 -05:00
Ehsan Akhgari
326c120a2f
Bug 773014 - Part 2: Mark Static{Auto,Ref}Ptr as global-only; r=jrmuizel
2014-12-22 18:10:44 -05:00
Birunthan Mohanathas
da27cbd66f
Bug 1046841 - Fix more style violations in previously touched .h files in xpcom/. r=froydnj
2014-08-25 12:17:24 -07:00
Birunthan Mohanathas
254b0f3c54
Bug 995730 - Fix style violations in xpcom/base/ (part 2). r=froydnj
2014-05-14 23:14:58 +03:00
Birunthan Mohanathas
e44da12c54
Bug 995730 - Fix style violations in xpcom/base/. r=froydnj,continuation
2014-05-13 20:41:38 +03:00
Birunthan Mohanathas
34a78370e0
Bug 995730 - Change xpcom/base/ to use 2 space indentation
...
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:39 +03:00
Justin Lebar
a464db91e9
Bug 844323 - Prelude part 2: Switch xpcom/base/StaticPtr from NULL to nullptr, and add a necessary include. r=khuey
...
This is necessary to make this header compile in one of the places I use it. Anyway it's the right change.
2013-04-25 20:53:26 -04:00
Nathan Froyd
66b3a9f43e
Bug 809931 - make Static{Auto,Ref}Ptr have trivial constructors and destructors; r=jlebar
2012-11-09 16:48:42 -05:00
Justin Lebar
16d41f755b
Bug 772987 - Part 1: Add Static{Auto,Ref}Ptr. r=bsmedberg
2012-07-26 15:33:45 -04:00