Index: chrome/browser/tab_contents/tab_contents.cc |
=================================================================== |
--- chrome/browser/tab_contents/tab_contents.cc (revision 19748) |
+++ chrome/browser/tab_contents/tab_contents.cc (working copy) |
@@ -1636,8 +1636,8 @@ |
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() && |