| Index: chrome/browser/ui/cocoa/applescript/browsercrapplication+applescript.mm
|
| diff --git a/chrome/browser/ui/cocoa/applescript/browsercrapplication+applescript.mm b/chrome/browser/ui/cocoa/applescript/browsercrapplication+applescript.mm
|
| index 36e076d423859e915fa5231030a682d026eaa986..6651ea17b848c4da76ed0f50d2081e951658f580 100644
|
| --- a/chrome/browser/ui/cocoa/applescript/browsercrapplication+applescript.mm
|
| +++ b/chrome/browser/ui/cocoa/applescript/browsercrapplication+applescript.mm
|
| @@ -81,7 +81,8 @@ using bookmarks::BookmarkModel;
|
| return nil;
|
| }
|
|
|
| - BookmarkModel* model = BookmarkModelFactory::GetForProfile(lastProfile);
|
| + BookmarkModel* model =
|
| + BookmarkModelFactory::GetForBrowserContext(lastProfile);
|
| if (!model->loaded()) {
|
| AppleScript::SetError(AppleScript::errBookmarkModelLoad);
|
| return nil;
|
| @@ -105,7 +106,8 @@ using bookmarks::BookmarkModel;
|
| return nil;
|
| }
|
|
|
| - BookmarkModel* model = BookmarkModelFactory::GetForProfile(lastProfile);
|
| + BookmarkModel* model =
|
| + BookmarkModelFactory::GetForBrowserContext(lastProfile);
|
| if (!model->loaded()) {
|
| AppleScript::SetError(AppleScript::errBookmarkModelLoad);
|
| return NULL;
|
|
|