| Index: chrome/browser/browsing_data_file_system_helper_unittest.cc
|
| diff --git a/chrome/browser/browsing_data_file_system_helper_unittest.cc b/chrome/browser/browsing_data_file_system_helper_unittest.cc
|
| index b28f5529d2165aea23e99724928bad02576cfd0f..30c3be653d248fcc9523cca3aa2f296fd5ecaae1 100644
|
| --- a/chrome/browser/browsing_data_file_system_helper_unittest.cc
|
| +++ b/chrome/browser/browsing_data_file_system_helper_unittest.cc
|
| @@ -111,16 +111,18 @@ class BrowsingDataFileSystemHelperTest : public testing::Test {
|
| // Calls StartFetching() on the test's BrowsingDataFileSystemHelper
|
| // object, then blocks until the callback is executed.
|
| void FetchFileSystems() {
|
| - helper_->StartFetching(NewCallback(this,
|
| - &BrowsingDataFileSystemHelperTest::CallbackStartFetching));
|
| + helper_->StartFetching(
|
| + base::Bind(&BrowsingDataFileSystemHelperTest::CallbackStartFetching,
|
| + base::Unretained(this)));
|
| BlockUntilNotified();
|
| }
|
|
|
| // Calls StartFetching() on the test's CannedBrowsingDataFileSystemHelper
|
| // object, then blocks until the callback is executed.
|
| void FetchCannedFileSystems() {
|
| - canned_helper_->StartFetching(NewCallback(this,
|
| - &BrowsingDataFileSystemHelperTest::CallbackStartFetching));
|
| + canned_helper_->StartFetching(
|
| + base::Bind(&BrowsingDataFileSystemHelperTest::CallbackStartFetching,
|
| + base::Unretained(this)));
|
| BlockUntilNotified();
|
| }
|
|
|
|
|