RefCounted types should not have public destructors, Linux fixes
BUG=123295
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10392152
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137893 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/jankometer.cc b/chrome/browser/jankometer.cc
index df1355b8..9f5e2a0 100644
--- a/chrome/browser/jankometer.cc
+++ b/chrome/browser/jankometer.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.
@@ -221,8 +221,6 @@
bool watchdog_enable)
: helper_(thread_name, excessive_duration, watchdog_enable) {}
- ~IOJankObserver() {}
-
// Attaches the observer to the current thread's message loop. You can only
// attach to the current thread, so this function can be invoked on another
// thread to attach it.
@@ -262,6 +260,8 @@
private:
friend class base::RefCountedThreadSafe<IOJankObserver>;
+ ~IOJankObserver() {}
+
JankObserverHelper helper_;
DISALLOW_COPY_AND_ASSIGN(IOJankObserver);