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

Unified Diff: content/common/gpu/gpu_channel.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
« no previous file with comments | « content/common/gpu/gpu_channel.h ('k') | content/common/gpu/media/android_video_decode_accelerator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel.cc
diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc
index 7ce69260e47c7e0b3a2a0ffc4c847eb23435fd1f..31b1404e06c6f47ed8c38efced811633572df5d7 100644
--- a/content/common/gpu/gpu_channel.cc
+++ b/content/common/gpu/gpu_channel.cc
@@ -238,7 +238,7 @@ GpuChannelMessageFilter::~GpuChannelMessageFilter() {}
void GpuChannelMessageFilter::OnFilterAdded(IPC::Sender* sender) {
DCHECK(!sender_);
sender_ = sender;
- timer_ = make_scoped_ptr(new base::OneShotTimer<GpuChannelMessageFilter>);
+ timer_ = make_scoped_ptr(new base::OneShotTimer);
for (scoped_refptr<IPC::MessageFilter>& filter : channel_filters_) {
filter->OnFilterAdded(sender_);
}
« no previous file with comments | « content/common/gpu/gpu_channel.h ('k') | content/common/gpu/media/android_video_decode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698