summaryrefslogtreecommitdiffstats
path: root/net/proxy
diff options
context:
space:
mode:
Diffstat (limited to 'net/proxy')
-rw-r--r--net/proxy/proxy_config_service_linux_unittest.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/net/proxy/proxy_config_service_linux_unittest.cc b/net/proxy/proxy_config_service_linux_unittest.cc
index 761b20a..26149e5 100644
--- a/net/proxy/proxy_config_service_linux_unittest.cc
+++ b/net/proxy/proxy_config_service_linux_unittest.cc
@@ -309,12 +309,11 @@ class SynchConfigGetter {
int get_config_result_; // Return value from GetProxyConfig().
};
-template<>
-void RunnableMethodTraits<SynchConfigGetter>::RetainCallee(
- SynchConfigGetter* remover) {}
-template<>
-void RunnableMethodTraits<SynchConfigGetter>::ReleaseCallee(
- SynchConfigGetter* remover) {}
+template <>
+struct RunnableMethodTraits<SynchConfigGetter> {
+ void RetainCallee(SynchConfigGetter*) {}
+ void ReleaseCallee(SynchConfigGetter*) {}
+};
namespace net {