| Index: chrome/browser/ui/webui/chromeos/system_info_ui.cc
|
| diff --git a/chrome/browser/ui/webui/chromeos/system_info_ui.cc b/chrome/browser/ui/webui/chromeos/system_info_ui.cc
|
| index baa5fcf57c5697caed069ae6206f6df1a86bcca9..25d11dba05fa0810da3758adfba3ebd6eb04c744 100644
|
| --- a/chrome/browser/ui/webui/chromeos/system_info_ui.cc
|
| +++ b/chrome/browser/ui/webui/chromeos/system_info_ui.cc
|
| @@ -4,7 +4,8 @@
|
|
|
| #include "chrome/browser/ui/webui/chromeos/system_info_ui.h"
|
|
|
| -#include "base/callback.h"
|
| +#include "base/bind.h"
|
| +#include "base/bind_helpers.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/message_loop.h"
|
| #include "base/path_service.h"
|
| @@ -99,7 +100,8 @@ void SystemInfoUIHTMLSource::StartDataRequest(const std::string& path,
|
| false, // don't compress.
|
| chromeos::system::SyslogsProvider::SYSLOGS_SYSINFO,
|
| &consumer_,
|
| - NewCallback(this, &SystemInfoUIHTMLSource::SyslogsComplete));
|
| + base::Bind(&SystemInfoUIHTMLSource::SyslogsComplete,
|
| + base::Unretained(this)));
|
| }
|
| }
|
|
|
|
|