| Index: device/bluetooth/bluetooth_socket_bluez.cc
|
| diff --git a/device/bluetooth/bluetooth_socket_bluez.cc b/device/bluetooth/bluetooth_socket_bluez.cc
|
| index 46269c98e317ae57e8b7b0f9657b7694c6a8a98d..df5a0c03b42936b2761fb906451f4f1423e51a15 100644
|
| --- a/device/bluetooth/bluetooth_socket_bluez.cc
|
| +++ b/device/bluetooth/bluetooth_socket_bluez.cc
|
| @@ -4,10 +4,11 @@
|
|
|
| #include "device/bluetooth/bluetooth_socket_bluez.h"
|
|
|
| +#include <stdint.h>
|
| +
|
| #include <queue>
|
| #include <string>
|
|
|
| -#include "base/basictypes.h"
|
| #include "base/bind.h"
|
| #include "base/callback.h"
|
| #include "base/logging.h"
|
| @@ -139,11 +140,11 @@ void BluetoothSocketBlueZ::Listen(
|
| switch (socket_type) {
|
| case kRfcomm:
|
| options_->channel.reset(
|
| - new uint16(service_options.channel ? *service_options.channel : 0));
|
| + new uint16_t(service_options.channel ? *service_options.channel : 0));
|
| break;
|
| case kL2cap:
|
| options_->psm.reset(
|
| - new uint16(service_options.psm ? *service_options.psm : 0));
|
| + new uint16_t(service_options.psm ? *service_options.psm : 0));
|
| break;
|
| default:
|
| NOTREACHED();
|
|
|