| Index: content/browser/frame_host/navigation_entry_screenshot_manager.cc
|
| diff --git a/content/browser/frame_host/navigation_entry_screenshot_manager.cc b/content/browser/frame_host/navigation_entry_screenshot_manager.cc
|
| index b2bf429dc0a6c66a34266a5267ed62267a8aacb6..1e066323ea29f8bc3489be9fb0b9554d73b36987 100644
|
| --- a/content/browser/frame_host/navigation_entry_screenshot_manager.cc
|
| +++ b/content/browser/frame_host/navigation_entry_screenshot_manager.cc
|
| @@ -134,11 +134,14 @@ void NavigationEntryScreenshotManager::TakeScreenshotImpl(
|
| NavigationEntryImpl* entry) {
|
| DCHECK(host && host->GetView());
|
| DCHECK(entry);
|
| - host->CopyFromBackingStore(gfx::Rect(),
|
| + SkBitmap::Config preferred_format = host->PreferredReadbackFormat();
|
| + host->CopyFromBackingStore(
|
| + gfx::Rect(),
|
| host->GetView()->GetViewBounds().size(),
|
| base::Bind(&NavigationEntryScreenshotManager::OnScreenshotTaken,
|
| screenshot_factory_.GetWeakPtr(),
|
| - entry->GetUniqueID()));
|
| + entry->GetUniqueID()),
|
| + preferred_format);
|
| }
|
|
|
| void NavigationEntryScreenshotManager::SetMinScreenshotIntervalMS(
|
|
|