Closed
Bug 980824
Opened 10 years ago
Closed 10 years ago
mozilla::NullptrT not working properly in B2G ICS (but not JB!) emulator build
Categories
(Core :: MFBT, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: hsivonen, Unassigned)
Details
Steps to reproduce: 1) Apply attachment 8386769 [details] [diff] [review] from bug 980317. 2) Select debug builds on all platforms in the trychooser. 3) Push to try. Expected results: Green build on all platforms. Actual results: B2G ICS emulator build fails (but B2G JB emulator build succeeds!), because conversion from nullptr to nsIContentHandle when nullptr is passed as an argument to a method that takes nsIContentHandle is ambiguous despite there being the relevant constructor taking mozilla::NullptrT.
Comment 1•10 years ago
|
||
You probably should not be using NullPtrT, see the comments here: <http://mxr.mozilla.org/mozilla-central/source/mfbt/NullPtr.h#75>
Component: Emulator → MFBT
Product: Firefox OS → Core
Comment 2•10 years ago
|
||
Yeah, your use of NullptrT isn't in accord with the intent/meaning of NullptrT. I commented in the other bug on how to address things, it looks like it's more or less possible.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•