Closed
Bug 779287
Opened 12 years ago
Closed 12 years ago
widget/android: replace NULL with nullptr
Categories
(Firefox for Android Graveyard :: General, defect, P4)
Tracking
(firefox17 affected)
RESOLVED
WONTFIX
Firefox 17
Tracking | Status | |
---|---|---|
firefox17 | --- | affected |
People
(Reporter: cpeterson, Assigned: cpeterson)
References
Details
Attachments
(1 file)
45.57 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
Now that bug 626472 (Switch from nsnull to nullptr) has landed, Gecko code is migrating to C++11's magic `nullptr` constant (or an equivalent `nullptr` macro for pre-C++11 compilers). In new Android code, we ought to use nullptr in place of NULL, nsnull, or the 0 pointer. nullptr does not give us much benefit with Android's gcc 4.4, but NDK r8b's gcc 4.6 will give us better nullptr warnings.
Attachment #647660 -
Flags: review?(mark.finkle)
Assignee | ||
Updated•12 years ago
|
Summary: Replace NULL with nullptr → widget/android: replace NULL with nullptr
Comment 1•12 years ago
|
||
Comment on attachment 647660 [details] [diff] [review] replace-NULL-with-nullptr.patch You should probably send to Try just to make sure the build system on tinderbox is OK to handle these changes. I assume it will be fine, but you know how it goes.
Attachment #647660 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 2•12 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #1) > You should probably send to Try just to make sure the build system on > tinderbox is OK to handle these changes. I assume it will be fine, but you > know how it goes. Will do.
Assignee | ||
Comment 3•12 years ago
|
||
Android tests were green (save for a few XUL tests): https://tbpl.mozilla.org/?tree=Try&rev=3a3b42304b8d And other platform builds were green: https://tbpl.mozilla.org/?tree=Try&rev=98bfe405937c
Assignee | ||
Comment 4•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/f6aff596b0ff
Assignee | ||
Comment 5•12 years ago
|
||
backed out: https://hg.mozilla.org/integration/mozilla-inbound/rev/412282a35c2d Ms2ger says: "Doing it for the whole code base is fine; it means you can do s/nsnull/nullptr/ on your patch queue *once*; if you do it module by module, you have to fix up *parts* of your patch queue a couple dozen times."
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
status-firefox16:
unaffected → ---
Priority: P3 → P4
Resolution: --- → WONTFIX
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•