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

Unified Diff: device/bluetooth/bluez/bluetooth_audio_sink_bluez_unittest.cc

Issue 2211473003: Remove calls to deprecated MessageLoop methods on Windows and Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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/bluez/bluetooth_audio_sink_bluez_unittest.cc
diff --git a/device/bluetooth/bluez/bluetooth_audio_sink_bluez_unittest.cc b/device/bluetooth/bluez/bluetooth_audio_sink_bluez_unittest.cc
index a0da216d2091ceaf7c97d3a146a9a86492520e7a..bd1ee6b977d372d5452c0188bb13592be9ff5d2d 100644
--- a/device/bluetooth/bluez/bluetooth_audio_sink_bluez_unittest.cc
+++ b/device/bluetooth/bluez/bluetooth_audio_sink_bluez_unittest.cc
@@ -14,6 +14,7 @@
#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/message_loop/message_loop.h"
+#include "base/run_loop.h"
#include "dbus/object_path.h"
#include "device/bluetooth/bluetooth_adapter.h"
#include "device/bluetooth/bluetooth_adapter_factory.h"
@@ -134,7 +135,7 @@ class BluetoothAudioSinkBlueZTest : public testing::Test {
BluetoothAdapterFactory::GetAdapter(
base::Bind(&BluetoothAudioSinkBlueZTest::GetAdapterCallback,
base::Unretained(this)));
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
}
// Called whenever BluetoothAdapter is retrieved successfully.
« no previous file with comments | « device/bluetooth/bluez/bluetooth_advertisement_bluez_unittest.cc ('k') | device/bluetooth/bluez/bluetooth_bluez_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698