| Index: chrome/browser/tab_contents/tab_contents.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/tab_contents.cc (revision 20100)
|
| +++ chrome/browser/tab_contents/tab_contents.cc (working copy)
|
| @@ -1650,8 +1650,8 @@
|
| const ThumbnailScore& score) {
|
| // Tell History about this thumbnail
|
| if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kThumbnailStore)) {
|
| - if (!profile()->IsOffTheRecord())
|
| - profile()->GetThumbnailStore()->SetPageThumbnail(url, bitmap, score);
|
| + profile()->GetThumbnailStore()->
|
| + SetPageThumbnail(url, bitmap, score, !profile()->IsOffTheRecord());
|
| } else {
|
| HistoryService* hs;
|
| if (!profile()->IsOffTheRecord() &&
|
|
|