Index: content/browser/download/download_item_impl_unittest.cc |
diff --git a/content/browser/download/download_item_impl_unittest.cc b/content/browser/download/download_item_impl_unittest.cc |
index 786d90311049b1fac20367975848dbc48aed379b..8dde06ffed63ca80a3b77ef5e4d04b7f7f00e274 100644 |
--- a/content/browser/download/download_item_impl_unittest.cc |
+++ b/content/browser/download/download_item_impl_unittest.cc |
@@ -60,7 +60,7 @@ class MockDelegate : public DownloadItemImplDelegate { |
MOCK_METHOD2(MockResumeInterruptedDownload, |
void(DownloadUrlParameters* params, uint32 id)); |
- MOCK_CONST_METHOD0(GetBrowserContext, BrowserContext*()); |
+ BrowserContext* GetBrowserContext() const override { return nullptr; } |
MOCK_METHOD1(UpdatePersistence, void(DownloadItemImpl*)); |
MOCK_METHOD1(DownloadOpened, void(DownloadItemImpl*)); |
MOCK_METHOD1(DownloadRemoved, void(DownloadItemImpl*)); |