Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: device/bluetooth/bluetooth_adapter_mac_unittest.mm

Issue 1538173003: Implementing GATT connection/disconnect on OS X. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing patch Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/bluetooth_adapter_mac_unittest.mm
diff --git a/device/bluetooth/bluetooth_adapter_mac_unittest.mm b/device/bluetooth/bluetooth_adapter_mac_unittest.mm
index bc6349999cdd4b10d00f45b75bccd7ecc50850cf..f5d7c8125e2ebc608a4a270f0186fe43dc5fbd35 100644
--- a/device/bluetooth/bluetooth_adapter_mac_unittest.mm
+++ b/device/bluetooth/bluetooth_adapter_mac_unittest.mm
@@ -119,6 +119,7 @@ class BluetoothAdapterMacTest : public testing::Test {
mock_central_manager_ = [[MockCentralManager alloc] init];
[mock_central_manager_ setState:desired_state];
adapter_mac_->SetCentralManagerForTesting(mock_central_manager_);
+ [mock_central_manager_ release];
msarda 2016/02/11 10:55:38 In Chromium, you should not call release on an obj
jlebel 2016/02/19 11:02:35 Done.
return true;
}

Powered by Google App Engine
This is Rietveld 408576698