summaryrefslogtreecommitdiffstats
path: root/chrome/utility
diff options
context:
space:
mode:
authorajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-29 19:14:00 +0000
committerajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-29 19:14:00 +0000
commit71cb8aa4fde2396b0fedd14cffc3e402f39547c4 (patch)
treeda8b02ed68d792a4f1528085b34fe162664bb5c9 /chrome/utility
parentd5dc80d56d967d3709fc4f11b9e0db2005a4eab3 (diff)
downloadchromium_src-71cb8aa4fde2396b0fedd14cffc3e402f39547c4.zip
chromium_src-71cb8aa4fde2396b0fedd14cffc3e402f39547c4.tar.gz
chromium_src-71cb8aa4fde2396b0fedd14cffc3e402f39547c4.tar.bz2
Retry: Convert stragglers not on spreadsheet to base::Bind()
Original review: http://codereview.chromium.org/9035002/ BUG=none TEST=try bots (including shared) Review URL: http://codereview.chromium.org/9049012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115976 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/utility')
-rw-r--r--chrome/utility/chrome_content_utility_client.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/chrome/utility/chrome_content_utility_client.cc b/chrome/utility/chrome_content_utility_client.cc
index e5962d5..4211de7 100644
--- a/chrome/utility/chrome_content_utility_client.cc
+++ b/chrome/utility/chrome_content_utility_client.cc
@@ -4,6 +4,7 @@
#include "chrome/utility/chrome_content_utility_client.h"
+#include "base/bind.h"
#include "base/base64.h"
#include "base/command_line.h"
#include "base/json/json_reader.h"
@@ -394,11 +395,8 @@ void ChromeContentUtilityClient::OnImportStart(
ImporterCleanup();
}
import_thread_->message_loop()->PostTask(
- FROM_HERE, NewRunnableMethod(importer_.get(),
- &Importer::StartImport,
- source_profile,
- items,
- bridge_));
+ FROM_HERE, base::Bind(&Importer::StartImport, importer_.get(),
+ source_profile, items, bridge_));
}
void ChromeContentUtilityClient::OnImportCancel() {