| Index: chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell_unittest.mm
|
| diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell_unittest.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell_unittest.mm
|
| index d83d85f93472c36b44a9e72c3626a7cca05b329f..04b14932e0bf339a844f82061f6acec2305cc0c5 100644
|
| --- a/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell_unittest.mm
|
| +++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell_unittest.mm
|
| @@ -99,7 +99,7 @@ TEST_F(BookmarkButtonCellTest, MouseEnterStuff) {
|
| [cell setMenu:[[[NSMenu alloc] initWithTitle:@"foo"] autorelease]];
|
| EXPECT_FALSE([cell menu]);
|
|
|
| - BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile());
|
| + BookmarkModel* model = BookmarkModelFactory::GetForBrowserContext(profile());
|
| const BookmarkNode* node = model->bookmark_bar_node();
|
| [cell setEmpty:NO];
|
| [cell setBookmarkNode:node];
|
| @@ -110,7 +110,7 @@ TEST_F(BookmarkButtonCellTest, MouseEnterStuff) {
|
| }
|
|
|
| TEST_F(BookmarkButtonCellTest, BookmarkNode) {
|
| - BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile());
|
| + BookmarkModel* model = BookmarkModelFactory::GetForBrowserContext(profile());
|
| base::scoped_nsobject<BookmarkButtonCell> cell(
|
| [[BookmarkButtonCell alloc] initTextCell:@"Testing"]);
|
|
|
| @@ -160,7 +160,7 @@ TEST_F(BookmarkButtonCellTest, Awake) {
|
|
|
| // Subfolder arrow details.
|
| TEST_F(BookmarkButtonCellTest, FolderArrow) {
|
| - BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile());
|
| + BookmarkModel* model = BookmarkModelFactory::GetForBrowserContext(profile());
|
| const BookmarkNode* bar = model->bookmark_bar_node();
|
| const BookmarkNode* node = model->AddURL(bar, bar->child_count(),
|
| base::ASCIIToUTF16("title"),
|
| @@ -184,7 +184,7 @@ TEST_F(BookmarkButtonCellTest, FolderArrow) {
|
| }
|
|
|
| TEST_F(BookmarkButtonCellTest, VerticalTextOffset) {
|
| - BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile());
|
| + BookmarkModel* model = BookmarkModelFactory::GetForBrowserContext(profile());
|
| const BookmarkNode* bar = model->bookmark_bar_node();
|
| const BookmarkNode* node = model->AddURL(bar, bar->child_count(),
|
| base::ASCIIToUTF16("title"),
|
|
|