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)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: baku, Assigned: baku)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file)
|
1.38 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•12 years ago
|
||
It's just a namespace problem.
Attachment #828020 -
Flags: review?(jonas)
| Assignee | ||
Updated•12 years ago
|
Comment 2•12 years ago
|
||
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+
| Assignee | ||
Comment 3•12 years ago
|
||
> 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
| Assignee | ||
Comment 4•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•