summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_update_job_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/appcache/appcache_update_job_unittest.cc')
-rw-r--r--webkit/appcache/appcache_update_job_unittest.cc14
1 files changed, 3 insertions, 11 deletions
diff --git a/webkit/appcache/appcache_update_job_unittest.cc b/webkit/appcache/appcache_update_job_unittest.cc
index 2936d70..665150a 100644
--- a/webkit/appcache/appcache_update_job_unittest.cc
+++ b/webkit/appcache/appcache_update_job_unittest.cc
@@ -3366,14 +3366,6 @@ TEST_F(AppCacheUpdateJobTest, MultipleHeadersRefetch) {
// AppCacheUpdateJobTest is expected to always live longer than the
// runnable methods. This lets us call NewRunnableMethod on its instances.
-template<>
-struct RunnableMethodTraits<appcache::AppCacheUpdateJobTest> {
- void RetainCallee(appcache::AppCacheUpdateJobTest* obj) { }
- void ReleaseCallee(appcache::AppCacheUpdateJobTest* obj) { }
-};
-template<>
-struct RunnableMethodTraits<appcache::AppCacheUpdateJobTest::MockAppCachePolicy>
-{
- void RetainCallee(appcache::AppCacheUpdateJobTest::MockAppCachePolicy* o) { }
- void ReleaseCallee(appcache::AppCacheUpdateJobTest::MockAppCachePolicy* o) { }
-};
+DISABLE_RUNNABLE_METHOD_REFCOUNT(appcache::AppCacheUpdateJobTest);
+DISABLE_RUNNABLE_METHOD_REFCOUNT(
+ appcache::AppCacheUpdateJobTest::MockAppCachePolicy);