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

Unified Diff: device/usb/usb_context.cc

Issue 1314273002: Manage UsbService lifetime in DeviceClient implementations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | « device/test/usb_test_gadget_impl.cc ('k') | device/usb/usb_device_handle_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_context.cc
diff --git a/device/usb/usb_context.cc b/device/usb/usb_context.cc
index ba9779831710d96421e85e8680cd166b601f9556..89246bc8f6da5fca22aebfa6f5027198272383e7 100644
--- a/device/usb/usb_context.cc
+++ b/device/usb/usb_context.cc
@@ -67,7 +67,6 @@ UsbContext::UsbContext(PlatformUsbContext context) : context_(context) {
}
UsbContext::~UsbContext() {
- DCHECK(thread_checker_.CalledOnValidThread());
event_handler_->Stop();
event_handler_->Join();
}
« no previous file with comments | « device/test/usb_test_gadget_impl.cc ('k') | device/usb/usb_device_handle_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698