Closed Bug 935494 Opened 12 years ago Closed 12 years ago

AssertAppPrincipal doesn't compile when MOZ_CHILD_PERMISSIONS is not defined

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla28

People

(Reporter: baku, Assigned: baku)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file)

No description provided.
Attached patch bug.patchSplinter Review
It's just a namespace problem.
Attachment #828020 - Flags: review?(jonas)
Blocks: 916091
Depends on: 904298
Comment on attachment 828020 [details] [diff] [review] bug.patch >+AssertAppPrincipal(mozilla::dom::PContentParent* aActor, Why do you need the namespace qualifier there given the "using namespace mozilla::dom" above? >+CheckPermission(mozilla::dom::PContentParent* aActor, Likewise. r=me with that explained or fixed.
Attachment #828020 - Flags: review?(jonas) → review+
> Why do you need the namespace qualifier there given the "using namespace > mozilla::dom" above? because that "using namespace mozilla::dom is inside #ifdef MOZ_CHILD_PERMISSIONS: https://mxr.mozilla.org/mozilla-central/source/dom/ipc/AppProcessChecker.cpp#10
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Whiteboard: [qa-]
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: