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

Unified Diff: device/hid/hid_service_mac.cc

Issue 584083002: Remove implicit conversions from scoped_refptr to T* in device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « device/bluetooth/bluetooth_socket_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/hid/hid_service_mac.cc
diff --git a/device/hid/hid_service_mac.cc b/device/hid/hid_service_mac.cc
index 640c1383e9b006b6d3d1bea51318ab69e01f2ab0..fe4876141d7ff7b32554e80f0ff75b1e0809576b 100644
--- a/device/hid/hid_service_mac.cc
+++ b/device/hid/hid_service_mac.cc
@@ -147,7 +147,7 @@ void GetCollectionInfos(IOHIDDeviceRef device,
HidServiceMac::HidServiceMac() {
DCHECK(thread_checker_.CalledOnValidThread());
message_loop_ = base::MessageLoopProxy::current();
- DCHECK(message_loop_);
+ DCHECK(message_loop_.get());
hid_manager_.reset(IOHIDManagerCreate(NULL, 0));
if (!hid_manager_) {
LOG(ERROR) << "Failed to initialize HidManager";
« no previous file with comments | « device/bluetooth/bluetooth_socket_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698