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

Unified Diff: device/hid/hid_service_win.cc

Issue 1774443002: Replace template_util.h stuff with C++11 <type_traits> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert unrelated whitespace change Created 4 years, 9 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 | « chrome/chrome_watcher/chrome_watcher_main.cc ('k') | extensions/common/permissions/base_set_operators.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/hid/hid_service_win.cc
diff --git a/device/hid/hid_service_win.cc b/device/hid/hid_service_win.cc
index 0bfc4851e66b2006aa11a6b448e386b43ddaa7f0..8a2006055777d3191e6adcdec036641aa83e972d 100644
--- a/device/hid/hid_service_win.cc
+++ b/device/hid/hid_service_win.cc
@@ -70,7 +70,8 @@ void HidServiceWin::Connect(const HidDeviceId& device_id,
task_runner_->PostTask(
FROM_HERE,
- base::Bind(callback, new HidConnectionWin(device_info, std::move(file))));
+ base::Bind(callback, make_scoped_refptr(
+ new HidConnectionWin(device_info, std::move(file)))));
}
// static
« no previous file with comments | « chrome/chrome_watcher/chrome_watcher_main.cc ('k') | extensions/common/permissions/base_set_operators.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698