summaryrefslogtreecommitdiffstats
path: root/chrome/browser/memory_details_mac.cc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-21 18:26:51 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-21 18:26:51 +0000
commit24d6969c304316618d12bfbe49bc174101218eeb (patch)
tree4e003c37c887b2f6a674d50abb97a7e3c3cab26c /chrome/browser/memory_details_mac.cc
parentf94c619e73b934b8f32edf303cc8998670f7cc64 (diff)
downloadchromium_src-24d6969c304316618d12bfbe49bc174101218eeb.zip
chromium_src-24d6969c304316618d12bfbe49bc174101218eeb.tar.gz
chromium_src-24d6969c304316618d12bfbe49bc174101218eeb.tar.bz2
base::Bind: Cleanup chrome/browser/memory_*.
BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8366018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106743 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/memory_details_mac.cc')
-rw-r--r--chrome/browser/memory_details_mac.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/memory_details_mac.cc b/chrome/browser/memory_details_mac.cc
index 037d527..1c1e7e0 100644
--- a/chrome/browser/memory_details_mac.cc
+++ b/chrome/browser/memory_details_mac.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -8,6 +8,7 @@
#include <string>
#include "base/basictypes.h"
+#include "base/bind.h"
#include "base/file_path.h"
#include "base/file_version_info.h"
#include "base/mac/mac_util.h"
@@ -199,7 +200,7 @@ void MemoryDetails::CollectProcessData(
// Finally return to the browser thread.
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
- NewRunnableMethod(this, &MemoryDetails::CollectChildInfoOnUIThread));
+ base::Bind(&MemoryDetails::CollectChildInfoOnUIThread, this));
}
void MemoryDetails::CollectProcessDataChrome(