| Index: chrome/browser/ui/cocoa/tabpose_window.mm
|
| diff --git a/chrome/browser/ui/cocoa/tabpose_window.mm b/chrome/browser/ui/cocoa/tabpose_window.mm
|
| index 9b6e8003d64744ac30c28b502cc521804d8477b5..6b3bb82c1028d49510eefb4981b1d1c85792886c 100644
|
| --- a/chrome/browser/ui/cocoa/tabpose_window.mm
|
| +++ b/chrome/browser/ui/cocoa/tabpose_window.mm
|
| @@ -260,7 +260,8 @@ void ThumbnailLoader::LoadThumbnail() {
|
| // change on window resize, and since most users don't use devtools, this is
|
| // good enough.
|
| bottomOffset +=
|
| - devToolsContents->render_view_host()->view()->GetViewBounds().height();
|
| + devToolsContents->tab_contents()->render_view_host()->view()->
|
| + GetViewBounds().height();
|
| bottomOffset += 1; // :-( Divider line between web contents and devtools.
|
| }
|
| return bottomOffset;
|
| @@ -284,7 +285,7 @@ void ThumbnailLoader::LoadThumbnail() {
|
| }
|
|
|
| - (void)drawInContext:(CGContextRef)context {
|
| - RenderWidgetHost* rwh = contents_->render_view_host();
|
| + RenderWidgetHost* rwh = contents_->tab_contents()->render_view_host();
|
| // NULL if renderer crashed.
|
| RenderWidgetHostView* rwhv = rwh ? rwh->view() : NULL;
|
| if (!rwhv) {
|
|
|