Add a note about preferring services.h over do_GetService

NEW
Assigned to

Status

()

8 years ago
8 years ago

People

(Reporter: jrmuizel, Assigned: jrmuizel)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: not-ready)

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
Created attachment 507967 [details] [diff] [review]
Add a note about preferring services.h over do_GetService

I had trouble remembering about mozilla::services::... so add a note to do_GetService()
(Assignee)

Updated

8 years ago
Attachment #507967 - Attachment is patch: true
Attachment #507967 - Attachment mime type: application/octet-stream → text/plain
Attachment #507967 - Flags: review?(tglek)

Updated

8 years ago
Attachment #507967 - Flags: review?(tglek) → review+
(Assignee)

Updated

8 years ago
Attachment #507967 - Flags: approval2.0?

Comment 1

8 years ago
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-

Updated

8 years ago
Assignee: nobody → jmuizelaar
Whiteboard: not-ready
You need to log in before you can comment on or make changes to this bug.