| Index: chrome/browser/tab_contents/thumbnail_generator.cc
|
| diff --git a/chrome/browser/tab_contents/thumbnail_generator.cc b/chrome/browser/tab_contents/thumbnail_generator.cc
|
| index 76c63c8a7e084761aa30b5568db1f5713c247fa1..5daa81830f5cf33c894a6eb47a336fee49e18f1f 100644
|
| --- a/chrome/browser/tab_contents/thumbnail_generator.cc
|
| +++ b/chrome/browser/tab_contents/thumbnail_generator.cc
|
| @@ -232,7 +232,7 @@ void ThumbnailGenerator::AskForSnapshot(RenderWidgetHost* renderer,
|
| // which is responsible for closing it.
|
| TransportDIB::Handle renderer_dib_handle;
|
| DuplicateHandle(GetCurrentProcess(), thumbnail_dib->handle(),
|
| - renderer->process()->GetHandle(), &renderer_dib_handle,
|
| + renderer->GetProcess()->GetHandle(), &renderer_dib_handle,
|
| STANDARD_RIGHTS_REQUIRED | FILE_MAP_READ | FILE_MAP_WRITE,
|
| FALSE, 0);
|
| if (!renderer_dib_handle) {
|
| @@ -467,7 +467,7 @@ void ThumbnailGenerator::UpdateThumbnail(
|
| // Compute the thumbnail score.
|
| ThumbnailScore score;
|
| score.at_top =
|
| - (web_contents->GetRenderViewHost()->last_scroll_offset().y() == 0);
|
| + (web_contents->GetRenderViewHost()->GetLastScrollOffset().y() == 0);
|
| score.boring_score = ThumbnailGenerator::CalculateBoringScore(&thumbnail);
|
| score.good_clipping =
|
| (clip_result == ThumbnailGenerator::kTallerThanWide ||
|
|
|