summaryrefslogtreecommitdiffstats
path: root/chrome/browser/crash_handler_host_linux.cc
diff options
context:
space:
mode:
authorajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-16 02:17:23 +0000
committerajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-16 02:17:23 +0000
commitc56428f24b67efa6a2eff77a709b7b6489403617 (patch)
treeab1966b7a60fe6d97062480d501e16fcbc00837a /chrome/browser/crash_handler_host_linux.cc
parent6c23230f2e2b345a7fafb4caf814e07b8228cae7 (diff)
downloadchromium_src-c56428f24b67efa6a2eff77a709b7b6489403617.zip
chromium_src-c56428f24b67efa6a2eff77a709b7b6489403617.tar.gz
chromium_src-c56428f24b67efa6a2eff77a709b7b6489403617.tar.bz2
Add DISABLE_RUNNABLE_METHOD_REFCOUNT to make disabling refcounts in RunnableMethods easier.
BUG=none TEST=none Review URL: http://codereview.chromium.org/2830006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49887 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/crash_handler_host_linux.cc')
-rw-r--r--chrome/browser/crash_handler_host_linux.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/crash_handler_host_linux.cc b/chrome/browser/crash_handler_host_linux.cc
index 34166d6..b23b7ea 100644
--- a/chrome/browser/crash_handler_host_linux.cc
+++ b/chrome/browser/crash_handler_host_linux.cc
@@ -30,10 +30,7 @@
// Since classes derived from CrashHandlerHostLinux are singletons, it's only
// destroyed at the end of the processes lifetime, which is greater in span than
// the lifetime of the IO message loop.
-template<> struct RunnableMethodTraits<CrashHandlerHostLinux> {
- void RetainCallee(CrashHandlerHostLinux*) { }
- void ReleaseCallee(CrashHandlerHostLinux*) { }
-};
+DISABLE_RUNNABLE_METHOD_REFCOUNT(CrashHandlerHostLinux);
CrashHandlerHostLinux::CrashHandlerHostLinux()
: process_socket_(-1),