| Index: chrome/browser/tab_contents/tab_contents.cc
 | 
| diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
 | 
| index 288b5b6fa6e6d88d212b9124455fe29cff3a771a..e30970c4884e2e0793740c0cd8dfc5efd99cc216 100644
 | 
| --- a/chrome/browser/tab_contents/tab_contents.cc
 | 
| +++ b/chrome/browser/tab_contents/tab_contents.cc
 | 
| @@ -2572,19 +2572,19 @@ void TabContents::UpdateTargetURL(int32 page_id, const GURL& url) {
 | 
|  void TabContents::UpdateThumbnail(const GURL& url,
 | 
|                                    const SkBitmap& bitmap,
 | 
|                                    const ThumbnailScore& score) {
 | 
| +  if (profile()->IsOffTheRecord())
 | 
| +    return;
 | 
| +
 | 
|    // Tell History about this thumbnail
 | 
|    if (history::TopSites::IsEnabled()) {
 | 
| -    if (!profile()->IsOffTheRecord()) {
 | 
| -      history::TopSites* ts = profile()->GetTopSites();
 | 
| -      if (ts)
 | 
| -        ts->SetPageThumbnail(url, bitmap, score);
 | 
| -    }
 | 
| +    history::TopSites* ts = profile()->GetTopSites();
 | 
| +    if (ts)
 | 
| +      ts->SetPageThumbnail(url, bitmap, score);
 | 
|    } else {
 | 
| -    HistoryService* hs;
 | 
| -    if (!profile()->IsOffTheRecord() &&
 | 
| -        (hs = profile()->GetHistoryService(Profile::IMPLICIT_ACCESS))) {
 | 
| +    HistoryService* hs =
 | 
| +        profile()->GetHistoryService(Profile::IMPLICIT_ACCESS);
 | 
| +    if (hs)
 | 
|        hs->SetPageThumbnail(url, bitmap, score);
 | 
| -    }
 | 
|    }
 | 
|  }
 | 
|  
 | 
| 
 |