| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index 6d5453aa662cdf1de7d2aa4fec73f9603ce147bf..79db04a037571abe95a5e13e2db760dae6c04359 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -921,7 +921,8 @@ void WebContentsImpl::WasRestored() {
|
| #if defined(OS_MACOSX)
|
| rwhv->SetActive(true);
|
| #endif
|
| - }
|
| + } else
|
| + LOG(WARNING) << "Restoring web contents with no rwhv";
|
|
|
| last_selected_time_ = base::TimeTicks::Now();
|
|
|
| @@ -931,9 +932,8 @@ void WebContentsImpl::WasRestored() {
|
| // one to make sure it's up to date.
|
| RenderViewHostImpl* rvh =
|
| static_cast<RenderViewHostImpl*>(GetRenderViewHost());
|
| - if (rvh) {
|
| + if (rvh)
|
| rvh->ResizeRectChanged(GetRootWindowResizerRect());
|
| - }
|
|
|
| bool is_visible = true;
|
| content::NotificationService::current()->Notify(
|
|
|