Closed
Bug 709205
Opened 13 years ago
Closed 13 years ago
use services::GetObserverService instead of do_GetService
Categories
(Core :: General, defect)
Core
General
Tracking
()
RESOLVED
FIXED
mozilla11
People
(Reporter: froydnj, Assigned: froydnj)
Details
Attachments
(3 files, 1 obsolete file)
4.65 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
1.83 KB,
patch
|
dougt
:
review+
|
Details | Diff | Splinter Review |
2.00 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
Several do_GetService(NS_OBSERVERSERVICE_CONTRACTID) calls have snuck in over time; the incoming patches replace them with their equivalent, mozilla::services::GetObserverService. There are still a couple two-argument do_GetService(NS_OBSERVERSERVICE_CONTRACTID, &rv) calls lying about; I chose not to handle those in this patchset.
Assignee | ||
Comment 1•13 years ago
|
||
Simple patch for docshell and dom.
Attachment #580484 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 2•13 years ago
|
||
Simple patch for places.
Attachment #580485 -
Flags: review?(mak77)
Assignee | ||
Comment 3•13 years ago
|
||
Simple patch for xpcom.
Attachment #580486 -
Flags: review?(doug.turner)
Comment 4•13 years ago
|
||
Comment on attachment 580484 [details] [diff] [review] use GetObserverService in docshell, dom r=me
Attachment #580484 -
Flags: review?(bzbarsky) → review+
Updated•13 years ago
|
Attachment #580486 -
Flags: review?(doug.turner) → review+
Comment 5•13 years ago
|
||
Comment on attachment 580485 [details] [diff] [review] use GetObserverService in places Review of attachment 580485 [details] [diff] [review]: ----------------------------------------------------------------- In both places you may use just services:: since those files already have using namespace mozilla;
Attachment #580485 -
Flags: review?(mak77) → review+
Assignee | ||
Comment 6•13 years ago
|
||
Adjusted to account for mak's comments and drive-by-fixes to other mozilla::services:: instances in the touched files. Mak approved the drive-by-fixes on IRC. Carrying over r+.
Attachment #580485 -
Attachment is obsolete: true
Attachment #582296 -
Flags: review+
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Comment 7•13 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/8f8dd0388d87 https://hg.mozilla.org/integration/mozilla-inbound/rev/da1b38aa2886 https://hg.mozilla.org/integration/mozilla-inbound/rev/cbd797fc4d7f
Comment 8•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/8f8dd0388d87 https://hg.mozilla.org/mozilla-central/rev/da1b38aa2886 https://hg.mozilla.org/mozilla-central/rev/cbd797fc4d7f
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•