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

Unified Diff: components/proximity_auth/device_to_device_authenticator.cc

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 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
Index: components/proximity_auth/device_to_device_authenticator.cc
diff --git a/components/proximity_auth/device_to_device_authenticator.cc b/components/proximity_auth/device_to_device_authenticator.cc
index cf023b15ff8c3ac2795710fe0046199b1a4d50a9..ccc3fd1299008564e9296be237e87a1b25a2e36c 100644
--- a/components/proximity_auth/device_to_device_authenticator.cc
+++ b/components/proximity_auth/device_to_device_authenticator.cc
@@ -89,7 +89,7 @@ void DeviceToDeviceAuthenticator::OnKeyPairGenerated(
}
scoped_ptr<base::Timer> DeviceToDeviceAuthenticator::CreateTimer() {
- return make_scoped_ptr(new base::OneShotTimer<DeviceToDeviceAuthenticator>());
+ return make_scoped_ptr(new base::OneShotTimer());
}
void DeviceToDeviceAuthenticator::OnHelloMessageCreated(
« no previous file with comments | « components/proximity_auth/ble/proximity_auth_ble_system.h ('k') | components/proximity_auth/remote_device_life_cycle_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698