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

Unified Diff: net/dns/dns_transaction.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: net/dns/dns_transaction.cc
diff --git a/net/dns/dns_transaction.cc b/net/dns/dns_transaction.cc
index f60ae26e27d76f43eb98fe536fdd5ddd55724a15..d441f6a34fcad8e52db31f5920f55d8a7c07c7bf 100644
--- a/net/dns/dns_transaction.cc
+++ b/net/dns/dns_transaction.cc
@@ -961,7 +961,7 @@ class DnsTransactionImpl : public DnsTransaction,
// Index of the first server to try on each search query.
int first_server_index_;
- base::OneShotTimer<DnsTransactionImpl> timer_;
+ base::OneShotTimer timer_;
DISALLOW_COPY_AND_ASSIGN(DnsTransactionImpl);
};

Powered by Google App Engine
This is Rietveld 408576698