Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm |
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm |
index 0457fc6b9c7876cbf60fe760e77b834d7c0e3585..3d81059f79abd11b438551dbfb5c11e1301170ed 100644 |
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm |
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm |
@@ -273,8 +273,11 @@ class BookmarkBarControllerTestBase : public CocoaProfileTest { |
ASSERT_TRUE(profile()); |
FilePath extension_dir; |
- profile()->CreateExtensionService(CommandLine::ForCurrentProcess(), |
- extension_dir, false); |
+ static_cast<TestExtensionSystem*>( |
+ ExtensionSystemFactory::GetForProfile(profile()))-> |
+ CreateExtensionService( |
+ CommandLine::ForCurrentProcess(), |
+ extension_dir, false); |
resizeDelegate_.reset([[ViewResizerPong alloc] init]); |
NSRect parent_frame = NSMakeRect(0, 0, 800, 50); |
parent_view_.reset([[NSView alloc] initWithFrame:parent_frame]); |