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

Unified Diff: content/browser/loader/resource_dispatcher_host_impl.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: content/browser/loader/resource_dispatcher_host_impl.cc
diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc
index a5d74a92cd6954b74f778985fefad2b86e18017d..69c1af4311381ff63eff611b9a1f25725499faec 100644
--- a/content/browser/loader/resource_dispatcher_host_impl.cc
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc
@@ -471,8 +471,7 @@ ResourceDispatcherHostImpl::ResourceDispatcherHostImpl()
base::Bind(&ResourceDispatcherHostImpl::OnInit,
base::Unretained(this)));
- update_load_states_timer_.reset(
- new base::RepeatingTimer<ResourceDispatcherHostImpl>());
+ update_load_states_timer_.reset(new base::RepeatingTimer());
}
ResourceDispatcherHostImpl::~ResourceDispatcherHostImpl() {

Powered by Google App Engine
This is Rietveld 408576698