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

Unified Diff: media/audio/audio_device_thread.cc

Issue 2536823002: Do not explicitly allow singletons in AudioDeviceThread. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_device_thread.cc
diff --git a/media/audio/audio_device_thread.cc b/media/audio/audio_device_thread.cc
index edbdbd89cedd42f32d83fed4999114c06b609255..0a0d274a00d48d72f38eefbd9e8032e3ca3873d8 100644
--- a/media/audio/audio_device_thread.cc
+++ b/media/audio/audio_device_thread.cc
@@ -7,7 +7,6 @@
#include <limits>
#include "base/logging.h"
-#include "base/threading/thread_restrictions.h"
namespace media {
@@ -62,7 +61,6 @@ AudioDeviceThread::~AudioDeviceThread() {
void AudioDeviceThread::ThreadMain() {
base::PlatformThread::SetName(thread_name_);
- base::ThreadRestrictions::SetSingletonAllowed(true);
callback_->InitializeOnAudioThread();
uint32_t buffer_index = 0;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698