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

Unified Diff: content/common/gpu/gpu_channel.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: . 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/common/gpu/gpu_channel.h
diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
index a9300c671ef58c9f55480a8a713ca8815a53953a..4e55ab828a21d957e50176dccd15b33d7e01b78b 100644
--- a/content/common/gpu/gpu_channel.h
+++ b/content/common/gpu/gpu_channel.h
@@ -384,7 +384,7 @@ class GpuChannelMessageFilter : public IPC::MessageFilter {
std::vector<scoped_refptr<IPC::MessageFilter>> channel_filters_;
// This timer is created and destroyed on the IO thread.
- scoped_ptr<base::OneShotTimer<GpuChannelMessageFilter>> timer_;
+ scoped_ptr<base::OneShotTimer> timer_;
bool a_stub_is_descheduled_;

Powered by Google App Engine
This is Rietveld 408576698