From ac4c668a5d726a0aa77097b11c4e63b188d3b47c Mon Sep 17 00:00:00 2001 From: "ajwong@chromium.org" Date: Wed, 4 Jan 2012 00:57:39 +0000 Subject: And now NewRunnableMethod(), you die. Kill off NewRunnableMethod() and remove silly declarations of unused ScopedRunnableMethodFactory(s). BUG=none TEST=existing. Review URL: http://codereview.chromium.org/9034032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116250 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/metrics/thread_watcher.cc | 7 +------ chrome/browser/metrics/thread_watcher.h | 7 +------ chrome/browser/metrics/thread_watcher_unittest.cc | 8 +------- 3 files changed, 3 insertions(+), 19 deletions(-) (limited to 'chrome/browser/metrics') diff --git a/chrome/browser/metrics/thread_watcher.cc b/chrome/browser/metrics/thread_watcher.cc index 52968bd..1c8796b 100644 --- a/chrome/browser/metrics/thread_watcher.cc +++ b/chrome/browser/metrics/thread_watcher.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -722,11 +722,6 @@ static base::LazyInstance watchdog_thread_; }; -// DISABLE_RUNNABLE_METHOD_REFCOUNT is a convenience macro for disabling -// refcounting of ThreadWatcherTest classes. -DISABLE_RUNNABLE_METHOD_REFCOUNT(ThreadWatcherTest); - // Define static constants. const TimeDelta ThreadWatcherTest::kSleepTime = TimeDelta::FromMilliseconds(50); -- cgit v1.1