| Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm
|
| ===================================================================
|
| --- chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm (revision 124830)
|
| +++ chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm (working copy)
|
| @@ -13,8 +13,6 @@
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/bookmarks/bookmark_model.h"
|
| #include "chrome/browser/bookmarks/bookmark_utils.h"
|
| -#include "chrome/browser/extensions/extension_system_factory.h"
|
| -#include "chrome/browser/extensions/test_extension_system.h"
|
| #import "chrome/browser/ui/cocoa/animation_utils.h"
|
| #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_constants.h"
|
| #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h"
|
| @@ -274,11 +272,8 @@
|
| ASSERT_TRUE(profile());
|
|
|
| FilePath extension_dir;
|
| - static_cast<TestExtensionSystem*>(
|
| - ExtensionSystemFactory::GetForProfile(profile()))->
|
| - CreateExtensionService(
|
| - CommandLine::ForCurrentProcess(),
|
| - extension_dir, false);
|
| + 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]);
|
|
|