Closed
Bug 564950
Opened 15 years ago
Closed 15 years ago
Make more use of mozilla::services
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
People
(Reporter: Mitch, Assigned: Mitch)
References
Details
Attachments
(15 files, 2 obsolete files)
2.14 KB,
patch
|
surkov
:
review+
|
Details | Diff | Splinter Review |
1.05 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
7.50 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
6.82 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
745 bytes,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
1.41 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
4.76 KB,
patch
|
smontagu
:
review+
|
Details | Diff | Splinter Review |
5.99 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
1.95 KB,
patch
|
jaas
:
review+
|
Details | Diff | Splinter Review |
1.25 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
6.47 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
6.11 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
1.51 KB,
patch
|
shaver
:
review+
|
Details | Diff | Splinter Review |
765 bytes,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
48.65 KB,
patch
|
Details | Diff | Splinter Review |
We should replace more do_GetService() calls with mozilla::services::Get*Service(), as was done in bug 560095 (which itself stems from bug 516085).
Assignee | ||
Comment 1•15 years ago
|
||
This patch touches several modules and passes TryServer. Appropriate peers/owners should state which part(s) they're reviewing.
Assignee | ||
Updated•15 years ago
|
Attachment #444539 -
Flags: review?(surkov.alexander
Attachment #444539 -
Flags: review?(smontagu)
Attachment #444539 -
Flags: review?(shaver)
Attachment #444539 -
Flags: review?(roc)
Attachment #444539 -
Flags: review?(neil)
Attachment #444539 -
Flags: review?(jst)
Attachment #444539 -
Flags: review?(joshmoz)
Attachment #444539 -
Flags: review?(gavin.sharp)
Attachment #444539 -
Flags: review?(bzbarsky)
Comment on attachment 444539 [details] [diff] [review]
Patch v1
+ nsCOMPtr<nsIStringBundleService> strings =
+ mozilla::services::GetStringBundleService();
+ if (!strings)
+ NS_ERROR_FAILURE;
Missing "return".
Attachment #444539 -
Flags: review?(joshmoz) → review-
Assignee | ||
Comment 3•15 years ago
|
||
Fixed.
Attachment #444539 -
Attachment is obsolete: true
Attachment #444555 -
Flags: review?(surkov.alexander)
Attachment #444555 -
Flags: review?(smontagu)
Attachment #444555 -
Flags: review?(shaver)
Attachment #444555 -
Flags: review?(roc)
Attachment #444555 -
Flags: review?(jst)
Attachment #444555 -
Flags: review?(joshmoz)
Attachment #444555 -
Flags: review?(gavin.sharp)
Attachment #444555 -
Flags: review?(bzbarsky)
Attachment #444539 -
Flags: review?(surkov.alexander)
Attachment #444539 -
Flags: review?(smontagu)
Attachment #444539 -
Flags: review?(shaver)
Attachment #444539 -
Flags: review?(roc)
Attachment #444539 -
Flags: review?(neil)
Attachment #444539 -
Flags: review?(jst)
Attachment #444539 -
Flags: review?(gavin.sharp)
Attachment #444539 -
Flags: review?(bzbarsky)
Could you break it up so that people know which part they're supposed to review?
Assignee | ||
Comment 5•15 years ago
|
||
Attachment #444555 -
Attachment is obsolete: true
Attachment #444561 -
Flags: review?(surkov.alexander)
Attachment #444555 -
Flags: review?(surkov.alexander)
Attachment #444555 -
Flags: review?(smontagu)
Attachment #444555 -
Flags: review?(shaver)
Attachment #444555 -
Flags: review?(roc)
Attachment #444555 -
Flags: review?(jst)
Attachment #444555 -
Flags: review?(joshmoz)
Attachment #444555 -
Flags: review?(gavin.sharp)
Attachment #444555 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 6•15 years ago
|
||
Attachment #444562 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 7•15 years ago
|
||
Attachment #444563 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 8•15 years ago
|
||
Attachment #444564 -
Flags: review?(jst)
Assignee | ||
Comment 9•15 years ago
|
||
Attachment #444565 -
Flags: review?(jst)
Assignee | ||
Comment 10•15 years ago
|
||
Attachment #444566 -
Flags: review?(neil)
Assignee | ||
Comment 11•15 years ago
|
||
Attachment #444567 -
Flags: review?(smontagu)
Assignee | ||
Comment 12•15 years ago
|
||
Attachment #444568 -
Flags: review?(roc)
Assignee | ||
Comment 13•15 years ago
|
||
Attachment #444569 -
Flags: review?(joshmoz)
Assignee | ||
Comment 14•15 years ago
|
||
Attachment #444570 -
Flags: review?(jst)
Assignee | ||
Comment 15•15 years ago
|
||
Attachment #444571 -
Flags: review?(gavin.sharp)
Assignee | ||
Comment 16•15 years ago
|
||
Attachment #444572 -
Flags: review?(roc)
Assignee | ||
Comment 17•15 years ago
|
||
Attachment #444573 -
Flags: review?(shaver)
Assignee | ||
Updated•15 years ago
|
Attachment #444573 -
Flags: review?(tglek)
Assignee | ||
Comment 18•15 years ago
|
||
Attachment #444575 -
Flags: review?(neil)
Comment on attachment 444568 [details] [diff] [review]
layout
thanks!
Attachment #444568 -
Flags: review?(roc) → review+
Attachment #444572 -
Flags: review?(roc) → review+
Attachment #444569 -
Flags: review?(joshmoz) → review+
Updated•15 years ago
|
Attachment #444566 -
Flags: review?(neil) → review+
Updated•15 years ago
|
Attachment #444575 -
Flags: review?(neil) → review+
Comment 20•15 years ago
|
||
Comment on attachment 444573 [details] [diff] [review]
xpcom
TBH, I think that we should just crash if we're in the middle of running the app and can't get a key service, but that's a battle for clarity and minimalism that I'll fight in another context!
Attachment #444573 -
Flags: review?(tglek)
Attachment #444573 -
Flags: review?(shaver)
Attachment #444573 -
Flags: review+
Updated•15 years ago
|
Attachment #444571 -
Flags: review?(gavin.sharp) → review+
Updated•15 years ago
|
Attachment #444564 -
Flags: review?(jst) → review+
Updated•15 years ago
|
Attachment #444562 -
Flags: review?(bzbarsky) → review+
Updated•15 years ago
|
Attachment #444563 -
Flags: review?(bzbarsky) → review+
Updated•15 years ago
|
Attachment #444565 -
Flags: review?(jst) → review+
Updated•15 years ago
|
Attachment #444570 -
Flags: review?(jst) → review+
Updated•15 years ago
|
Attachment #444561 -
Flags: review?(surkov.alexander) → review+
Updated•15 years ago
|
Attachment #444567 -
Flags: review?(smontagu) → review+
Assignee | ||
Comment 21•15 years ago
|
||
Thanks for the reviews. This amalgamation is ready for check-in. Patch includes Hg changeset summary.
Comment 22•15 years ago
|
||
landed on 1.9.3 - http://hg.mozilla.org/mozilla-central/rev/840fcbf52747
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•