Index: chrome/browser/renderer_host/pepper/device_id_fetcher.cc |
diff --git a/chrome/browser/renderer_host/pepper/device_id_fetcher.cc b/chrome/browser/renderer_host/pepper/device_id_fetcher.cc |
index 3582bdc5fec539447ea9d987af4a81e0ad5deca5..b859d2253cc277c25a5de9810c967955ed23de78 100644 |
--- a/chrome/browser/renderer_host/pepper/device_id_fetcher.cc |
+++ b/chrome/browser/renderer_host/pepper/device_id_fetcher.cc |
@@ -56,13 +56,13 @@ void GetMachineIDAsync( |
DeviceIDFetcher::DeviceIDFetcher(int render_process_id) |
: in_progress_(false), render_process_id_(render_process_id) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
} |
DeviceIDFetcher::~DeviceIDFetcher() {} |
bool DeviceIDFetcher::Start(const IDCallback& callback) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
if (in_progress_) |
return false; |
@@ -91,7 +91,7 @@ base::FilePath DeviceIDFetcher::GetLegacyDeviceIDPath( |
} |
void DeviceIDFetcher::CheckPrefsOnUIThread() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
Profile* profile = NULL; |
RenderProcessHost* render_process_host = |
@@ -135,7 +135,7 @@ void DeviceIDFetcher::CheckPrefsOnUIThread() { |
void DeviceIDFetcher::ComputeOnUIThread(const std::string& salt, |
const std::string& machine_id) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
if (machine_id.empty()) { |
LOG(ERROR) << "Empty machine id"; |