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

Unified Diff: components/copresence/timed_map.h

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/copresence/timed_map.h
diff --git a/components/copresence/timed_map.h b/components/copresence/timed_map.h
index bcd7149ba08b51d82d48b77d8bc54221fe60ffde..f6c58591f898d7c445ef9eb63737a3bd81d51732 100644
--- a/components/copresence/timed_map.h
+++ b/components/copresence/timed_map.h
@@ -96,7 +96,7 @@ class TimedMap {
const ValueType kEmptyValue;
scoped_ptr<base::TickClock> clock_;
- base::RepeatingTimer<TimedMap> timer_;
+ base::RepeatingTimer timer_;
const base::TimeDelta lifetime_;
const size_t max_elements_;
std::map<KeyType, ValueType> map_;

Powered by Google App Engine
This is Rietveld 408576698