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

Unified Diff: device/usb/usb_device_handle_impl.cc

Issue 791743006: Fix WeakPtrFactory member ordering in device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/usb/usb_device_handle_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_device_handle_impl.cc
diff --git a/device/usb/usb_device_handle_impl.cc b/device/usb/usb_device_handle_impl.cc
index eb12542164ff8d67c28b80bbf1c0c710b8f5e311..587bbc66d8e1df0fe8d963eead818a603258ea65 100644
--- a/device/usb/usb_device_handle_impl.cc
+++ b/device/usb/usb_device_handle_impl.cc
@@ -479,8 +479,8 @@ UsbDeviceHandleImpl::UsbDeviceHandleImpl(scoped_refptr<UsbContext> context,
handle_(handle),
config_(config),
context_(context),
- weak_factory_(this),
- task_runner_(base::ThreadTaskRunnerHandle::Get()) {
+ task_runner_(base::ThreadTaskRunnerHandle::Get()),
+ weak_factory_(this) {
DCHECK(handle) << "Cannot create device with NULL handle.";
}
« no previous file with comments | « device/usb/usb_device_handle_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698