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

Unified Diff: extensions/browser/api/cast_channel/cast_socket.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: . 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: extensions/browser/api/cast_channel/cast_socket.cc
diff --git a/extensions/browser/api/cast_channel/cast_socket.cc b/extensions/browser/api/cast_channel/cast_socket.cc
index 1ded13e47f4368f0fd12248e50689130dcb7139a..ef920e8489aee90ae9a3519c1f6c1eb139cc9505 100644
--- a/extensions/browser/api/cast_channel/cast_socket.cc
+++ b/extensions/browser/api/cast_channel/cast_socket.cc
@@ -103,7 +103,7 @@ CastSocketImpl::CastSocketImpl(const std::string& owner_extension_id,
keep_alive_(keep_alive),
logger_(logger),
connect_timeout_(timeout),
- connect_timeout_timer_(new base::OneShotTimer<CastSocketImpl>),
+ connect_timeout_timer_(new base::OneShotTimer),
is_canceled_(false),
device_capabilities_(device_capabilities),
connect_state_(proto::CONN_STATE_START_CONNECT),

Powered by Google App Engine
This is Rietveld 408576698