diff options
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents.cc')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc index b417f34..cddddfb 100644 --- a/chrome/browser/tab_contents/tab_contents.cc +++ b/chrome/browser/tab_contents/tab_contents.cc @@ -1878,8 +1878,8 @@ void TabContents::UpdateThumbnail(const GURL& url, const ThumbnailScore& score) { // Tell History about this thumbnail if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kThumbnailStore)) { - profile()->GetThumbnailStore()-> - SetPageThumbnail(url, bitmap, score, !profile()->IsOffTheRecord()); + if (!profile()->IsOffTheRecord()) + profile()->GetThumbnailStore()->SetPageThumbnail(url, bitmap, score); } else { HistoryService* hs; if (!profile()->IsOffTheRecord() && |