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

Unified Diff: content/renderer/media/webrtc_audio_device_unittest.cc

Issue 8872030: Removing MessageLoop::QuitTask() from content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix escaping Created 9 years 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: content/renderer/media/webrtc_audio_device_unittest.cc
diff --git a/content/renderer/media/webrtc_audio_device_unittest.cc b/content/renderer/media/webrtc_audio_device_unittest.cc
index 2457a899adf12054cc9fcdb071d5c555d3813903..8a7f498e29ebb7f104315ee13a1ea6800886ed8b 100644
--- a/content/renderer/media/webrtc_audio_device_unittest.cc
+++ b/content/renderer/media/webrtc_audio_device_unittest.cc
@@ -25,7 +25,7 @@ using testing::StrEq;
namespace {
ACTION_P(QuitMessageLoop, loop_or_proxy) {
- loop_or_proxy->PostTask(FROM_HERE, new MessageLoop::QuitTask());
+ loop_or_proxy->PostTask(FROM_HERE, MessageLoop::QuitClosure());
}
class AudioUtil : public AudioUtilInterface {
@@ -383,7 +383,7 @@ TEST_F(WebRTCAudioDeviceTest, PlayLocalFile) {
webrtc::kFileFormatPcm16kHzFile));
message_loop_.PostDelayedTask(FROM_HERE,
- new MessageLoop::QuitTask(),
+ MessageLoop::QuitClosure(),
TestTimeouts::action_timeout_ms());
message_loop_.Run();
@@ -442,7 +442,7 @@ TEST_F(WebRTCAudioDeviceTest, FullDuplexAudio) {
LOG(INFO) << ">> You should now be able to hear yourself in loopback...";
message_loop_.PostDelayedTask(FROM_HERE,
- new MessageLoop::QuitTask(),
+ MessageLoop::QuitClosure(),
TestTimeouts::action_timeout_ms());
message_loop_.Run();
« no previous file with comments | « content/common/net/url_fetcher_impl_unittest.cc ('k') | content/renderer/p2p/p2p_transport_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698