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

Unified Diff: chrome/browser/media/media_device_id_salt.cc

Issue 369703003: Reduce usage of MessageLoopProxy in base/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 2 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
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/net/chrome_http_user_agent_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/media_device_id_salt.cc
diff --git a/chrome/browser/media/media_device_id_salt.cc b/chrome/browser/media/media_device_id_salt.cc
index 27da539cd8aefd1ce2b72ed85fad9d37506b8707..90563f14af1eee0715d5dc6cd5e1d1411b447554 100644
--- a/chrome/browser/media/media_device_id_salt.cc
+++ b/chrome/browser/media/media_device_id_salt.cc
@@ -36,7 +36,7 @@ MediaDeviceIDSalt::MediaDeviceIDSalt(PrefService* pref_service,
if (media_device_id_salt_.GetValue().empty())
media_device_id_salt_.SetValue(CreateSalt());
- media_device_id_salt_.MoveToThread(
+ media_device_id_salt_.UseAlternateTaskRunner(
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO));
}
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/net/chrome_http_user_agent_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698