summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/save_page_browsertest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/download/save_page_browsertest.cc')
-rw-r--r--chrome/browser/download/save_page_browsertest.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/download/save_page_browsertest.cc b/chrome/browser/download/save_page_browsertest.cc
index 8709b1e..b7ae2fb 100644
--- a/chrome/browser/download/save_page_browsertest.cc
+++ b/chrome/browser/download/save_page_browsertest.cc
@@ -3,7 +3,6 @@
// found in the LICENSE file.
#include "base/bind.h"
-#include "base/bind_helpers.h"
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/path_service.h"
@@ -134,8 +133,8 @@ class SavePageBrowserTest : public InProcessBrowserTest {
static_cast<ChromeDownloadManagerDelegate*>(
GetDownloadManager()->delegate());
delegate->download_history()->Load(
- base::Bind(&SavePageBrowserTest::OnQueryDownloadEntriesComplete,
- base::Unretained(this)));
+ NewCallback(this,
+ &SavePageBrowserTest::OnQueryDownloadEntriesComplete));
// Run message loop until a quit message is sent from
// OnQueryDownloadEntriesComplete().