Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(746)

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 10732002: Upstream rewrite of Instant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Replace id with instant_url. Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« chrome/common/instant_types.h ('K') | « chrome/renderer/searchbox_extension.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« chrome/common/instant_types.h ('K') | « chrome/renderer/searchbox_extension.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698