| Index: chrome/browser/ui/browser.cc
 | 
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
 | 
| index 67d313acaf84d2cfaf1c46719f39b5caf20f7ff3..084938c4b18d4a9662ca28173c88a0221df5001c 100644
 | 
| --- a/chrome/browser/ui/browser.cc
 | 
| +++ b/chrome/browser/ui/browser.cc
 | 
| @@ -1505,9 +1505,14 @@ void Browser::BookmarkCurrentPage() {
 | 
|  
 | 
|    GURL url;
 | 
|    string16 title;
 | 
| -  bookmark_utils::GetURLAndTitleToBookmark(GetSelectedTabContents(), &url,
 | 
| -                                           &title);
 | 
| +  TabContents* tab = GetSelectedTabContents();
 | 
| +  bookmark_utils::GetURLAndTitleToBookmark(tab, &url, &title);
 | 
|    bool was_bookmarked = model->IsBookmarked(url);
 | 
| +  if (!was_bookmarked && profile_->IsOffTheRecord()) {
 | 
| +    // If we're off the record the favicon may not have been saved. Save it now
 | 
| +    // so that bookmarks have an icon for the page.
 | 
| +    tab->SaveFavicon();
 | 
| +  }
 | 
|    model->SetURLStarred(url, title, true);
 | 
|    // Make sure the model actually added a bookmark before showing the star. A
 | 
|    // bookmark isn't created if the url is invalid.
 | 
| 
 |