| Index: chrome/browser/extensions/menu_manager_unittest.cc
|
| diff --git a/chrome/browser/extensions/menu_manager_unittest.cc b/chrome/browser/extensions/menu_manager_unittest.cc
|
| index 626191f852c65ea9e36c1609421d6bd012dec80e..fc6049da9564bd4745f44664bde84d9d1f01b964 100644
|
| --- a/chrome/browser/extensions/menu_manager_unittest.cc
|
| +++ b/chrome/browser/extensions/menu_manager_unittest.cc
|
| @@ -437,8 +437,7 @@ TEST_F(MenuManagerTest, ExtensionUnloadRemovesMenuItems) {
|
| // A mock message service for tests of MenuManager::ExecuteCommand.
|
| class MockEventRouter : public EventRouter {
|
| public:
|
| - explicit MockEventRouter(Profile* profile) :
|
| - EventRouter(profile) {}
|
| + explicit MockEventRouter(Profile* profile) : EventRouter(profile, NULL) {}
|
|
|
| MOCK_METHOD6(DispatchEventToExtensionMock,
|
| void(const std::string& extension_id,
|
| @@ -527,8 +526,7 @@ TEST_F(MenuManagerTest, RemoveOneByOne) {
|
| TEST_F(MenuManagerTest, ExecuteCommand) {
|
| MockTestingProfile profile;
|
|
|
| - scoped_ptr<MockEventRouter> mock_event_router(
|
| - new MockEventRouter(&profile));
|
| + scoped_ptr<MockEventRouter> mock_event_router(new MockEventRouter(&profile));
|
|
|
| content::ContextMenuParams params;
|
| params.media_type = WebKit::WebContextMenuData::MediaTypeImage;
|
|
|