| Index: chrome/browser/download/download_shelf_unittest.cc
|
| diff --git a/chrome/browser/download/download_shelf_unittest.cc b/chrome/browser/download/download_shelf_unittest.cc
|
| index 631153635c01180ed18341f31bc776ebce4533e4..257cf2c9bfaaf9d209f83274fdc45778ff75ba90 100644
|
| --- a/chrome/browser/download/download_shelf_unittest.cc
|
| +++ b/chrome/browser/download/download_shelf_unittest.cc
|
| @@ -28,10 +28,6 @@ using content::DownloadItem;
|
|
|
| namespace {
|
|
|
| -KeyedService* CreateDownloadService(content::BrowserContext* context) {
|
| - return new DownloadService(Profile::FromBrowserContext(context));
|
| -}
|
| -
|
| class DownloadShelfTest : public testing::Test {
|
| public:
|
| DownloadShelfTest();
|
| @@ -49,13 +45,9 @@ class DownloadShelfTest : public testing::Test {
|
| Profile* profile() { return profile_.get(); }
|
|
|
| void SetUp() override {
|
| - DownloadServiceFactory::GetInstance()->SetTestingFactory(
|
| - profile(), &CreateDownloadService);
|
| }
|
|
|
| void TearDown() override {
|
| - DownloadServiceFactory::GetInstance()->SetTestingFactory(
|
| - profile(), NULL);
|
| }
|
|
|
| private:
|
|
|