Index: device/bluetooth/dbus/fake_bluetooth_device_client.cc |
diff --git a/device/bluetooth/dbus/fake_bluetooth_device_client.cc b/device/bluetooth/dbus/fake_bluetooth_device_client.cc |
index 3ce62c3519c1d4cab6d4587e31703d0dbed40105..4dd09ffe817d3b6261d3a4e266f3e81229f97d0c 100644 |
--- a/device/bluetooth/dbus/fake_bluetooth_device_client.cc |
+++ b/device/bluetooth/dbus/fake_bluetooth_device_client.cc |
@@ -519,10 +519,8 @@ void FakeBluetoothDeviceClient::ConnectProfile( |
} |
base::PostTaskWithTraits( |
- FROM_HERE, base::TaskTraits() |
- .WithShutdownBehavior( |
- base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN) |
- .MayBlock(), |
+ FROM_HERE, |
+ {base::MayBlock(), base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}, |
base::Bind(&SimulatedProfileSocket, fds[0])); |
base::ScopedFD fd(fds[1]); |