Chromium Code Reviews| Index: chrome/browser/ui/cocoa/download/download_shelf_controller_unittest.mm |
| diff --git a/chrome/browser/ui/cocoa/download/download_shelf_controller_unittest.mm b/chrome/browser/ui/cocoa/download/download_shelf_controller_unittest.mm |
| index 606b9acc39be94d69302ff49748336f19b6a1993..cbe05b38bb5ddb0c58f6ea5942d750a4ff81ca0e 100644 |
| --- a/chrome/browser/ui/cocoa/download/download_shelf_controller_unittest.mm |
| +++ b/chrome/browser/ui/cocoa/download/download_shelf_controller_unittest.mm |
| @@ -121,7 +121,6 @@ class DownloadShelfControllerTest : public CocoaProfileTest { |
| void TearDown() override { |
| if (shelf_.get()) { |
| - [shelf_ exiting]; |
| shelf_.reset(); |
| } |
| CocoaProfileTest::TearDown(); |
| @@ -374,7 +373,7 @@ TEST_F(DownloadShelfControllerTest, CancelAutoCloseOnExit) { |
| EXPECT_EQ(0, shelf_.get()->scheduleAutoCloseCount_); |
| EXPECT_EQ(2, shelf_.get()->cancelAutoCloseCount_); |
| - [shelf_ exiting]; |
| + [shelf_ browserWillBeDestroyed]; |
|
erikchen
2015/07/08 18:02:17
Why does this need to be changed from -exiting?
jackhou1
2015/07/09 03:48:02
They do exactly the same thing. Essentially Downlo
|
| EXPECT_EQ(0, shelf_.get()->scheduleAutoCloseCount_); |
| EXPECT_EQ(3, shelf_.get()->cancelAutoCloseCount_); |
| shelf_.reset(); |