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

Unified Diff: extensions/browser/api/hid/hid_device_manager.cc

Issue 597853003: extensions: Explicitly ignore result of CalledOnValidThread(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding DCHECK to thread_checker_.CalledOnValidThread() Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/hid/hid_device_manager.cc
diff --git a/extensions/browser/api/hid/hid_device_manager.cc b/extensions/browser/api/hid/hid_device_manager.cc
index 1c2502591e46867cfcdc047dbfd6173bc9b3a361..7de56b4bf816bd979cca0ae150b45eb55d31cfeb 100644
--- a/extensions/browser/api/hid/hid_device_manager.cc
+++ b/extensions/browser/api/hid/hid_device_manager.cc
@@ -143,7 +143,7 @@ bool HidDeviceManager::HasPermission(const Extension* extension,
}
void HidDeviceManager::UpdateDevices() {
- thread_checker_.CalledOnValidThread();
+ DCHECK(thread_checker_.CalledOnValidThread());
HidService* hid_service = device::DeviceClient::Get()->GetHidService();
DCHECK(hid_service);
« 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