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 7e6f8723732fe451ad3c5759fe381f570fc6b9fe..bd60d8cd571f25c43285e7234ce8474b3665fa6f 100644 |
--- a/chrome/browser/extensions/menu_manager_unittest.cc |
+++ b/chrome/browser/extensions/menu_manager_unittest.cc |
@@ -489,8 +489,9 @@ class MockExtensionSystem : public TestExtensionSystem { |
DISALLOW_COPY_AND_ASSIGN(MockExtensionSystem); |
}; |
-ProfileKeyedService* BuildMockExtensionSystem(Profile* profile) { |
- return new MockExtensionSystem(profile); |
+ProfileKeyedService* BuildMockExtensionSystem( |
+ content::BrowserContext* profile) { |
+ return new MockExtensionSystem(static_cast<Profile*>(profile)); |
} |
// Tests the RemoveAll functionality. |