summaryrefslogtreecommitdiffstats
path: root/chrome/browser/aeropeek_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/aeropeek_manager.cc')
-rw-r--r--chrome/browser/aeropeek_manager.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/aeropeek_manager.cc b/chrome/browser/aeropeek_manager.cc
index 7ebba34..4d06cc5 100644
--- a/chrome/browser/aeropeek_manager.cc
+++ b/chrome/browser/aeropeek_manager.cc
@@ -976,7 +976,8 @@ bool AeroPeekManager::GetTabThumbnail(int tab_id, SkBitmap* thumbnail) {
ThumbnailGenerator* generator = g_browser_process->GetThumbnailGenerator();
DCHECK(generator);
- *thumbnail = generator->GetThumbnailForRenderer(contents->render_view_host());
+ *thumbnail = generator->GetThumbnailForRenderer(
+ contents->GetRenderViewHost());
return true;
}
@@ -990,7 +991,7 @@ bool AeroPeekManager::GetTabPreview(int tab_id, SkBitmap* preview) {
if (!contents)
return false;
- RenderViewHost* render_view_host = contents->render_view_host();
+ RenderViewHost* render_view_host = contents->GetRenderViewHost();
if (!render_view_host)
return false;