Open Bug 629760 Opened 13 years ago Updated 2 years ago

Add a note about preferring services.h over do_GetService

Categories

(Core :: General, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: jrmuizel, Assigned: jrmuizel)

Details

(Whiteboard: not-ready)

Attachments

(1 file)

I had trouble remembering about mozilla::services::... so add a note to do_GetService()
Attachment #507967 - Attachment is patch: true
Attachment #507967 - Attachment mime type: application/octet-stream → text/plain
Attachment #507967 - Flags: review?(tglek)
Attachment #507967 - Flags: review?(tglek) → review+
Attachment #507967 - Flags: approval2.0?
Comment on attachment 507967 [details] [diff] [review]
Add a note about preferring services.h over do_GetService

This comment is not specific enough. mozilla::services is only available from within libxul, and this header is used by extensions.
Attachment #507967 - Flags: review-
Attachment #507967 - Flags: approval2.0?
Attachment #507967 - Flags: approval2.0-
Assignee: nobody → jmuizelaar
Whiteboard: not-ready
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: