| Index: chrome/browser/chromeos/bluetooth/test/mock_bluetooth_adapter.cc
|
| diff --git a/chrome/browser/chromeos/bluetooth/test/mock_bluetooth_adapter.cc b/chrome/browser/chromeos/bluetooth/test/mock_bluetooth_adapter.cc
|
| index b3e6375e0dc7b17598730bcd12e492da6b758cc5..9219ab962a70949684b7d95b10892084cbd77770 100644
|
| --- a/chrome/browser/chromeos/bluetooth/test/mock_bluetooth_adapter.cc
|
| +++ b/chrome/browser/chromeos/bluetooth/test/mock_bluetooth_adapter.cc
|
| @@ -11,8 +11,8 @@ MockBluetoothAdapter::Observer::~Observer() {}
|
|
|
| MockBluetoothAdapter::MockBluetoothAdapter(const std::string& address,
|
| const std::string& name) {
|
| - address_ = address;
|
| - name_ = name;
|
| + ON_CALL(*this, address()).WillByDefault(testing::ReturnRef(address));
|
| + ON_CALL(*this, name()).WillByDefault(testing::ReturnRef(name));
|
| }
|
|
|
| MockBluetoothAdapter::~MockBluetoothAdapter() {}
|
|
|