Closed Bug 1236561 Opened 8 years ago Closed 8 years ago

use UniquePtr<T[]> instead of nsAutoArrayPtr in dom/bluetooth/, easy cases

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

defect
Not set
normal

Tracking

(firefox46 fixed)

RESOLVED FIXED
Tracking Status
firefox46 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(3 files, 1 obsolete file)

      No description provided.
We don't need to copy data in this case, and making this change enables
us to remove this use of nsAutoArrayPtr.
Attachment #8703657 - Flags: review?(btian)
Comment on attachment 8703657 [details] [diff] [review]
part 2 - remove ObexHeaderSet::GetAuthChallenge

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

LGTM
Attachment #8703657 - Flags: review?(btian) → review+
Comment on attachment 8703659 [details] [diff] [review]
part 3 - make BluetoothConfigurationParameter.mValue a UniquePtr

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

LGTM
Attachment #8703659 - Flags: review?(btian) → review+
Comment on attachment 8703656 [details] [diff] [review]
part 1 - convert easy cases of nsAutoArrayPtr<T> to UniquePtr<T[]> in dom/bluetooth/

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

LGTM
Attachment #8703656 - Flags: review?(btian) → review+
Fix a SendSocketData mismatch for bluez code.  Carrying over r+.
Attachment #8706534 - Flags: review+
Attachment #8703656 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: