Closed Bug 1277546 Opened 7 years ago Closed 7 years ago

Missing ref-counting methods for |nsNetworkInfoService| on b2g

Categories

(Core :: Networking, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: tzimmermann, Assigned: tzimmermann)

References

Details

(Whiteboard: [necko-would-take])

Attachments

(1 file, 2 obsolete files)

While linking a for b2g, I see missing ref-counting methods (AddRef, et al) for |nsNetworkInfoService|.
Whiteboard: [necko-would-take]
Comment on attachment 8759157 [details] [diff] [review]
[01] Bug 1277546: Don't set BUILD_NETWORK_INFO_SERVICE on B2G

Review of attachment 8759157 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks! This looks great, but see the original bug - looks like we're going to back the patch out, and we can just re-land with this change rolled in.
Attachment #8759157 - Flags: review?(hurley)
Comment on attachment 8759157 [details] [diff] [review]
[01] Bug 1277546: Don't set BUILD_NETWORK_INFO_SERVICE on B2G

Review of attachment 8759157 [details] [diff] [review]:
-----------------------------------------------------------------

OK, looks like the original bug didn't get backed out entirely, just some minor changes were put in, instead. Guess we'll need this patch after all. (It will need fixing up to apply to the new state of things.)

There is one other place we do similar checks, in netwerk/base/moz.build, so the check there might need to be changed, as well (I'm not clear on the difference between CONFIG['OS_TARGET'] and CONFIG['MOZ_WIDGET_TOOLKIT'], and if CONFIG['OS_TARGET'] == 'Linux' holds for b2g).
I updated to the latest m-c and changes the patch. |nsNetworkInfoService| is now build on b2g as well.
Attachment #8759157 - Attachment is obsolete: true
Attachment #8760204 - Flags: review?(hurley)
Comment on attachment 8760204 [details] [diff] [review]
[01] Build |nsNetworkInfoService| on b2g

Review of attachment 8760204 [details] [diff] [review]:
-----------------------------------------------------------------

This patch also has a ton of unrelated whitespace changes in nsNetModule.cpp, please don't land those. r=nwgh with those changes reverted.
Attachment #8760204 - Flags: review?(hurley) → review+
Changes since v1:

  - removed whitespace fixes from patch
Attachment #8760204 - Attachment is obsolete: true
Attachment #8760659 - Flags: review+
Pushed by tdz@users.sourceforge.net:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c1c93849181d
Build |nsNetworkInfoService| on b2g, r=nwgh
https://hg.mozilla.org/mozilla-central/rev/c1c93849181d
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in before you can comment on or make changes to this bug.