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 df91c8e019d23bb7f256f9c09695f709d135c78a..ba795174b0c9b97d102df827cf3aab32392e5e23 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -924,7 +924,8 @@ void WebContentsImpl::WasRestored() { |
#if defined(OS_MACOSX) |
rwhv->SetActive(true); |
#endif |
- } |
+ } else |
+ LOG(WARNING) << "Restoring web contents with no rwhv"; |
sreeram
2012/07/24 14:08:32
Revert the changes to this file (they seem unneces
Jered
2012/07/24 15:24:34
Done.
|
last_selected_time_ = base::TimeTicks::Now(); |
@@ -934,9 +935,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( |